diff --git a/lib/pages/dynamics/widgets/up_panel.dart b/lib/pages/dynamics/widgets/up_panel.dart index f1a37dd2f..662735a44 100644 --- a/lib/pages/dynamics/widgets/up_panel.dart +++ b/lib/pages/dynamics/widgets/up_panel.dart @@ -198,10 +198,7 @@ class _UpPanelState extends State { isLabelVisible: data.type == 'live' || (data.type == 'up' && (data.hasUpdate ?? false)), backgroundColor: data.type == 'live' - ? Theme.of(context) - .colorScheme - .secondaryContainer - .withOpacity(0.7) + ? Theme.of(context).colorScheme.secondaryContainer : Theme.of(context).colorScheme.primary, ), ), diff --git a/lib/pages/whisper/view.dart b/lib/pages/whisper/view.dart index f17146ca0..1ec541f24 100644 --- a/lib/pages/whisper/view.dart +++ b/lib/pages/whisper/view.dart @@ -103,11 +103,6 @@ class _WhisperPageState extends State { isLabelVisible: _whisperController .msgFeedTop[idx]['value'] > 0, - backgroundColor: - Theme.of(context).colorScheme.primary, - textColor: Theme.of(context) - .colorScheme - .onInverseSurface, label: Text( " ${_whisperController.msgFeedTop[idx]['value']} "), alignment: Alignment.topRight, @@ -267,11 +262,6 @@ class _WhisperPageState extends State { leading: Badge( isLabelVisible: sessionList[i].unreadCount > 0, - // backgroundColor: - // Theme.of(context).colorScheme.primary, - // textColor: Theme.of(context) - // .colorScheme - // .onInverseSurface, label: Text( " ${sessionList[i].unreadCount.toString()} "), alignment: Alignment.topRight,