Fix crash when a requests fails in non-widget mode (aka on background-receive): Cannot show toasts without an UI
This commit is contained in:
@@ -17,6 +17,8 @@ class Globals {
|
||||
|
||||
bool _initialized = false;
|
||||
|
||||
bool appWidgetInitialized = false;
|
||||
|
||||
String appName = '';
|
||||
String packageName = '';
|
||||
String version = '';
|
||||
|
Reference in New Issue
Block a user