Skip to content

Commit b1d7636

Browse files
authored
Hide notifications from app layout & home (#1029)
1 parent 6d08865 commit b1d7636

2 files changed

Lines changed: 15 additions & 15 deletions

File tree

app/lib/screens/registered_screen.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,10 @@ class _RegisteredScreenState extends State<RegisteredScreen>
117117
children: [
118118
HomeCardWidget(
119119
name: 'Settings', icon: Icons.settings, pageNumber: 6),
120-
HomeCardWidget(
121-
name: 'Notifications',
122-
icon: Icons.notifications,
123-
pageNumber: 9),
120+
// HomeCardWidget(
121+
// name: 'Notifications',
122+
// icon: Icons.notifications,
123+
// pageNumber: 9),
124124
],
125125
),
126126
const SizedBox(height: 40),

app/lib/widgets/layout_drawer.dart

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -198,17 +198,17 @@ class _LayoutDrawerState extends State<LayoutDrawer> {
198198
globals.tabController.animateTo(7);
199199
},
200200
),
201-
ListTile(
202-
minLeadingWidth: 10,
203-
leading: const Padding(
204-
padding: EdgeInsets.only(left: 10),
205-
child: Icon(Icons.notifications, size: 18)),
206-
title: const Text('Notifications'),
207-
onTap: () {
208-
Navigator.pop(context);
209-
globals.tabController.animateTo(9);
210-
},
211-
),
201+
// ListTile(
202+
// minLeadingWidth: 10,
203+
// leading: const Padding(
204+
// padding: EdgeInsets.only(left: 10),
205+
// child: Icon(Icons.notifications, size: 18)),
206+
// title: const Text('Notifications'),
207+
// onTap: () {
208+
// Navigator.pop(context);
209+
// globals.tabController.animateTo(9);
210+
// },
211+
// ),
212212
],
213213
),
214214
),

0 commit comments

Comments
 (0)