mod: badge

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-01-19 20:56:05 +08:00
parent 44622c9a0b
commit 568dcfcba9
2 changed files with 1 additions and 14 deletions

View File

@@ -103,11 +103,6 @@ class _WhisperPageState extends State<WhisperPage> {
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<WhisperPage> {
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,