remove unnessasary builder

This commit is contained in:
2024-10-08 15:10:29 +02:00
parent c199353119
commit 8cc13c4fbf

View File

@@ -776,18 +776,16 @@ class _MIHHomeState extends State<MIHHome> {
barrierColor: const Color(0x01000000),
context: context,
builder: (context) {
return Builder(builder: (context) {
return MIHNotificationMessage(
arguments: NotificationArguments(
"Unread Notifications",
"You have unread notifications waiting for you.",
() {
Navigator.of(context).pop();
//Scaffold.of(context).openEndDrawer();
},
),
);
});
return MIHNotificationMessage(
arguments: NotificationArguments(
"Unread Notifications",
"You have unread notifications waiting for you.",
() {
Navigator.of(context).pop();
Scaffold.of(context).openEndDrawer();
},
),
);
},
);
}