mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
add BottomNavigationBar/change dirs structure
This commit is contained in:
@@ -51,6 +51,10 @@ class DialogManager{
|
||||
static void register(BuildContext dialogContext){
|
||||
_dialogContext = dialogContext;
|
||||
}
|
||||
|
||||
static void drop(){
|
||||
_dialogContext = null;
|
||||
}
|
||||
}
|
||||
|
||||
typedef BuildAlertDialog = Tuple3<Widget, Widget, List<Widget>> Function(
|
||||
@@ -83,7 +87,7 @@ Future<T?> showAlertDialog<T>(BuildAlertDialog build,
|
||||
DialogManager.register(context);
|
||||
return dialog;
|
||||
});
|
||||
DialogManager.reset();
|
||||
DialogManager.drop();
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user