From 76199418b29537318a04d1df0b7477ee8ee7a2cd 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 5cbf2652..85d1049a 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, )));