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