fix: Dont recommend microG on iPhone

This commit is contained in:
Christian Pauly 2021-05-23 07:12:44 +02:00
commit ab4ea74d00
2 changed files with 9 additions and 2 deletions

View file

@ -251,7 +251,9 @@ class BackgroundPush {
await loadLocale();
apl.currentState.showSnackBar(SnackBar(
content: Text(
l10n.noGoogleServicesWarning,
PlatformInfos.isAndroid
? l10n.noGoogleServicesWarning
: l10n.oopsPushError,
)));
if (null == await store.getItem(SettingKeys.showNoGoogle)) {
await store.setItemBool(SettingKeys.showNoGoogle, false);