mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-02 09:08:17 +08:00
change status api (#552)
This commit is contained in:
committed by
GitHub
parent
54cb1a6fc0
commit
3693d6c350
@@ -888,11 +888,13 @@ class _VideoInfoState extends State<VideoInfo> with TickerProviderStateMixin {
|
||||
: t.colorScheme.secondaryContainer,
|
||||
),
|
||||
child: Text(
|
||||
attr == 128
|
||||
? '已拉黑'
|
||||
: attr != 0
|
||||
? '已关注'
|
||||
: '关注',
|
||||
switch (attr) {
|
||||
1 => '悄悄关注',
|
||||
2 => '已关注',
|
||||
6 => '已互关',
|
||||
128 => '已拉黑',
|
||||
_ => '关注'
|
||||
},
|
||||
style: TextStyle(fontSize: t.textTheme.labelMedium!.fontSize),
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user