hide label whe not selected for filter

This commit is contained in:
Henry Hiles 2026-09-11 22:41:38 -04:00
commit 8ebec15324
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs

View file

@ -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,
}; };