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:
2025-05-23 21:10:20 +02:00
parent cc13f8a0f3
commit faa624e9f8
5 changed files with 56 additions and 14 deletions

View File

@@ -17,6 +17,8 @@ class Globals {
bool _initialized = false;
bool appWidgetInitialized = false;
String appName = '';
String packageName = '';
String version = '';