diff --git a/lib/pages/search/widgets/hot_keyword.dart b/lib/pages/search/widgets/hot_keyword.dart index 66d01b1d..a2b0452b 100644 --- a/lib/pages/search/widgets/hot_keyword.dart +++ b/lib/pages/search/widgets/hot_keyword.dart @@ -31,26 +31,29 @@ class HotKeyword extends StatelessWidget { padding: EdgeInsets.only( left: 2, right: hotSearchList!.indexOf(i) % 2 == 1 ? 10 : 0), - child: Row( - children: [ - Flexible( - child: Padding( - padding: const EdgeInsets.fromLTRB(6, 5, 4, 5), - child: Text( - i.keyword!, - overflow: TextOverflow.ellipsis, - maxLines: 1, - style: const TextStyle(fontSize: 14), + child: Tooltip( + message: i.keyword!, + child: Row( + children: [ + Flexible( + child: Padding( + padding: const EdgeInsets.fromLTRB(6, 5, 4, 5), + child: Text( + i.keyword!, + overflow: TextOverflow.ellipsis, + maxLines: 1, + style: const TextStyle(fontSize: 14), + ), ), ), - ), - if (i.icon != null && i.icon != '') - SizedBox( - height: 15, - child: CachedNetworkImage( - imageUrl: i.icon!, height: 15.0), - ), - ], + if (i.icon != null && i.icon != '') + SizedBox( + height: 15, + child: CachedNetworkImage( + imageUrl: i.icon!, height: 15.0), + ), + ], + ), ), ), ), diff --git a/lib/pages/setting/pages/color_select.dart b/lib/pages/setting/pages/color_select.dart index 94331c84..29712730 100644 --- a/lib/pages/setting/pages/color_select.dart +++ b/lib/pages/setting/pages/color_select.dart @@ -64,6 +64,7 @@ class _ColorSelectPageState extends State { onChanged: (dynamic val) async { ctr.type.value = 1; ctr.setting.put(SettingBoxKey.dynamicColor, false); + Get.forceAppUpdate(); }, ), ), diff --git a/lib/pages/video/detail/reply/widgets/reply_item.dart b/lib/pages/video/detail/reply/widgets/reply_item.dart index 9ef6a15a..c322089a 100644 --- a/lib/pages/video/detail/reply/widgets/reply_item.dart +++ b/lib/pages/video/detail/reply/widgets/reply_item.dart @@ -120,7 +120,7 @@ class ReplyItem extends StatelessWidget { decoration: BoxDecoration( // borderRadius: BorderRadius.circular(8), shape: BoxShape.circle, - color: Theme.of(context).colorScheme.background, + color: Theme.of(context).colorScheme.surface, ), child: const Icon( Icons.offline_bolt, @@ -139,7 +139,7 @@ class ReplyItem extends StatelessWidget { decoration: BoxDecoration( // borderRadius: BorderRadius.circular(8), shape: BoxShape.circle, - color: Theme.of(context).colorScheme.background, + color: Theme.of(context).colorScheme.surface, ), child: const Icon( Icons.offline_bolt, @@ -386,7 +386,7 @@ class ReplyItemRow extends StatelessWidget { return Container( margin: const EdgeInsets.only(left: 42, right: 4, top: 0), child: Material( - color: Theme.of(context).colorScheme.inverseSurface.withOpacity(0.02), + color: Theme.of(context).colorScheme.onInverseSurface, borderRadius: BorderRadius.circular(6), clipBehavior: Clip.hardEdge, animationDuration: Duration.zero, @@ -437,7 +437,7 @@ class ReplyItemRow extends StatelessWidget { TextSpan( children: [ TextSpan( - text: '${replies![i].member!.uname} ', + text: '${replies![i].member!.uname}', style: TextStyle( color: Theme.of(context) .colorScheme @@ -457,7 +457,8 @@ class ReplyItemRow extends StatelessWidget { }); }, ), - if (replies![i].isUp!) + if (replies![i].isUp!) ...[ + const TextSpan(text: ' '), const WidgetSpan( alignment: PlaceholderAlignment.top, child: PBadge( @@ -466,7 +467,13 @@ class ReplyItemRow extends StatelessWidget { stack: 'normal', fs: 9, ), - ), + ) + ], + TextSpan( + text: replies![i].content?.members?.isEmpty == + true + ? ': ' + : ' '), buildContent( context, replies![i], replyReply, replyItem), ],