diff --git a/lib/pages/whisper/view.dart b/lib/pages/whisper/view.dart index f2779a17..b26b9b86 100644 --- a/lib/pages/whisper/view.dart +++ b/lib/pages/whisper/view.dart @@ -140,14 +140,17 @@ class _WhisperPageState extends State { }, ), leading: Badge( - isLabelVisible: false, + isLabelVisible: + sessionList[i].unreadCount > 0, backgroundColor: Theme.of(context) .colorScheme .primary, - label: Text(sessionList[i] - .unreadCount - .toString()), - alignment: Alignment.bottomRight, + textColor: Theme.of(context) + .colorScheme + .onInverseSurface, + label: Text( + " ${sessionList[i].unreadCount.toString()} "), + alignment: Alignment.topRight, child: NetworkImgLayer( width: 45, height: 45,