forked from Nexus/nexus
hide label whe not selected for filter
This commit is contained in:
parent
cd8d551e26
commit
8ebec15324
1 changed files with 2 additions and 2 deletions
|
|
@ -20,11 +20,11 @@ class const NotificationsPage({
|
||||||
Widget build(BuildContext context, WidgetRef ref) {
|
Widget build(BuildContext context, WidgetRef ref) {
|
||||||
final options = <M3EToggleButtonGroupAction, UnreadType>{
|
final options = <M3EToggleButtonGroupAction, UnreadType>{
|
||||||
M3EToggleButtonGroupAction(
|
M3EToggleButtonGroupAction(
|
||||||
label: Text("Mentions"),
|
checkedLabel: Text("Mentions"),
|
||||||
icon: Icon(Icons.alternate_email),
|
icon: Icon(Icons.alternate_email),
|
||||||
): .highlight,
|
): .highlight,
|
||||||
M3EToggleButtonGroupAction(
|
M3EToggleButtonGroupAction(
|
||||||
label: Text("All Notifications"),
|
checkedLabel: Text("All Notifications"),
|
||||||
icon: Icon(Icons.notifications),
|
icon: Icon(Icons.notifications),
|
||||||
): .notify,
|
): .notify,
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue