From 2362e9f273a5345fb9efac696aca8757b39581da Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Sun, 11 Apr 2021 15:34:37 +0200 Subject: [PATCH] fix: nogooglewarning --- lib/utils/background_push.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/background_push.dart b/lib/utils/background_push.dart index 5cbf26527..85d1049ad 100644 --- a/lib/utils/background_push.dart +++ b/lib/utils/background_push.dart @@ -255,7 +255,7 @@ class BackgroundPush { } if (await store.getItemBool(SettingKeys.showNoGoogle, true)) { await loadLocale(); - AdaptivePageLayout.of(context).showSnackBar(SnackBar( + apl.currentState.showSnackBar(SnackBar( content: Text( l10n.noGoogleServicesWarning, )));