mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-30 23:58:13 +08:00
opt: unread badge
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -116,12 +116,14 @@ class _HomePageState extends State<HomePage>
|
|||||||
DynamicBadgeMode.number
|
DynamicBadgeMode.number
|
||||||
? 24
|
? 24
|
||||||
: 32,
|
: 32,
|
||||||
child: Badge(
|
child: IgnorePointer(
|
||||||
label: _mainController.msgBadgeMode ==
|
child: Badge(
|
||||||
DynamicBadgeMode.number
|
label: _mainController.msgBadgeMode ==
|
||||||
? Text(_mainController.msgUnReadCount.value
|
DynamicBadgeMode.number
|
||||||
.toString())
|
? Text(_mainController.msgUnReadCount.value
|
||||||
: null,
|
.toString())
|
||||||
|
: null,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -465,12 +465,14 @@ class _MainAppState extends State<MainApp>
|
|||||||
DynamicBadgeMode.number
|
DynamicBadgeMode.number
|
||||||
? 24
|
? 24
|
||||||
: 32,
|
: 32,
|
||||||
child: Badge(
|
child: IgnorePointer(
|
||||||
label: _mainController.msgBadgeMode ==
|
child: Badge(
|
||||||
DynamicBadgeMode.number
|
label: _mainController.msgBadgeMode ==
|
||||||
? Text(_mainController.msgUnReadCount.value
|
DynamicBadgeMode.number
|
||||||
.toString())
|
? Text(_mainController.msgUnReadCount.value
|
||||||
: null,
|
.toString())
|
||||||
|
: null,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user