change status api (#552)

This commit is contained in:
My-Responsitories
2025-03-28 09:57:50 +08:00
committed by GitHub
parent 54cb1a6fc0
commit 3693d6c350
6 changed files with 126 additions and 121 deletions

View File

@@ -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),
),
);