opt follow btn

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-19 13:58:06 +08:00
parent 25adc4face
commit a62670eecf
3 changed files with 4 additions and 6 deletions

View File

@@ -157,9 +157,7 @@ Widget videoSeasonWidget(
arguments: {'face': item.modules.moduleAuthor!.face}, arguments: {'face': item.modules.moduleAuthor!.face},
), ),
child: Text( child: Text(
item.modules.moduleAuthor?.type == null '@${item.modules.moduleAuthor!.name}',
? '@${item.modules.moduleAuthor!.name}'
: item.modules.moduleAuthor!.name!,
style: TextStyle(color: theme.colorScheme.primary), style: TextStyle(color: theme.colorScheme.primary),
), ),
), ),

View File

@@ -138,7 +138,7 @@ class _RepostPanelState extends CommonPublishPageState<RepostPanel> {
children: [ children: [
if (_pic != null) ...[ if (_pic != null) ...[
NetworkImgLayer( NetworkImgLayer(
radius: 8, radius: 6,
width: 40, width: 40,
height: 40, height: 40,
src: _pic, src: _pic,

View File

@@ -816,7 +816,7 @@ class _VideoInfoState extends State<VideoInfo> {
return TextButton( return TextButton(
onPressed: () => videoIntroController.actionRelationMod(context), onPressed: () => videoIntroController.actionRelationMod(context),
style: TextButton.styleFrom( style: TextButton.styleFrom(
padding: const EdgeInsets.symmetric(horizontal: 18), tapTargetSize: MaterialTapTargetSize.shrinkWrap,
visualDensity: const VisualDensity(vertical: -2.8), visualDensity: const VisualDensity(vertical: -2.8),
foregroundColor: attr != 0 foregroundColor: attr != 0
? t.colorScheme.outline ? t.colorScheme.outline
@@ -832,7 +832,7 @@ class _VideoInfoState extends State<VideoInfo> {
4 || 6 => '已互关', 4 || 6 => '已互关',
128 => '已拉黑', 128 => '已拉黑',
-10 => '特别关注', -10 => '特别关注',
_ => '关注' _ => ' 关注 '
}, },
style: const TextStyle(fontSize: 13), style: const TextStyle(fontSize: 13),
), ),