add safe area to notifications

This commit is contained in:
2024-12-09 15:09:38 +02:00
parent 1494ee6432
commit 1754d6a588

View File

@@ -194,7 +194,8 @@ class _MIHNotificationDrawerState extends State<MIHNotificationDrawer> {
@override
Widget build(BuildContext context) {
return Drawer(
return SafeArea(
child: Drawer(
//backgroundColor: MzanziInnovationHub.of(context)!.theme.primaryColor(),
child: SingleChildScrollView(
child: Column(
@@ -212,8 +213,9 @@ class _MIHNotificationDrawerState extends State<MIHNotificationDrawer> {
child: Text(
"Notifications",
style: TextStyle(
color:
MzanziInnovationHub.of(context)!.theme.primaryColor(),
color: MzanziInnovationHub.of(context)!
.theme
.primaryColor(),
fontWeight: FontWeight.bold,
fontSize: 20,
),
@@ -240,6 +242,7 @@ class _MIHNotificationDrawerState extends State<MIHNotificationDrawer> {
// ),
],
),
));
)),
);
}
}