fix on close alert in loading
This commit is contained in:
@@ -14,7 +14,7 @@ class MyTheme {
|
||||
}
|
||||
|
||||
void showLoading(String text, BuildContext context) {
|
||||
if (_hasDialog) {
|
||||
if (_hasDialog && context != null) {
|
||||
Navigator.pop(context);
|
||||
}
|
||||
dismissLoading();
|
||||
|
||||
Reference in New Issue
Block a user