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), barrierColor: const Color(0x01000000),
context: context, context: context,
builder: (context) { builder: (context) {
return Builder(builder: (context) { return MIHNotificationMessage(
return MIHNotificationMessage( arguments: NotificationArguments(
arguments: NotificationArguments( "Unread Notifications",
"Unread Notifications", "You have unread notifications waiting for you.",
"You have unread notifications waiting for you.", () {
() { Navigator.of(context).pop();
Navigator.of(context).pop(); Scaffold.of(context).openEndDrawer();
//Scaffold.of(context).openEndDrawer(); },
}, ),
), );
);
});
}, },
); );
} }