remove unnessasary builder
This commit is contained in:
parent
c199353119
commit
8cc13c4fbf
1 changed files with 10 additions and 12 deletions
|
|
@ -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();
|
||||
},
|
||||
),
|
||||
);
|
||||
},
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue