mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-19 10:39:26 +01:00
fix: Dont recommend microG on iPhone
This commit is contained in:
parent
48506e245a
commit
8921389e15
@ -1223,11 +1223,16 @@
|
|||||||
"type": "text",
|
"type": "text",
|
||||||
"placeholders": {}
|
"placeholders": {}
|
||||||
},
|
},
|
||||||
"noGoogleServicesWarning": "It seems that you have no google services on your phone. That's a good decision for your privacy! To receive push notifications in FluffyChat we recommend using microG: https://microg.org/",
|
"noGoogleServicesWarning": "It seems that you have no google services on your phone. That's a good decision for your privacy! To receive push notifications in FluffyChat we recommend using https://microg.org/ or https://unifiedpush.org/.",
|
||||||
"@noGoogleServicesWarning": {
|
"@noGoogleServicesWarning": {
|
||||||
"type": "text",
|
"type": "text",
|
||||||
"placeholders": {}
|
"placeholders": {}
|
||||||
},
|
},
|
||||||
|
"oopsPushError": "Oops! Unfortunately, an error occurred when setting up the push notifications.",
|
||||||
|
"@oopsPushError": {
|
||||||
|
"type": "text",
|
||||||
|
"placeholders": {}
|
||||||
|
},
|
||||||
"none": "None",
|
"none": "None",
|
||||||
"@none": {
|
"@none": {
|
||||||
"type": "text",
|
"type": "text",
|
||||||
|
@ -251,7 +251,9 @@ class BackgroundPush {
|
|||||||
await loadLocale();
|
await loadLocale();
|
||||||
apl.currentState.showSnackBar(SnackBar(
|
apl.currentState.showSnackBar(SnackBar(
|
||||||
content: Text(
|
content: Text(
|
||||||
l10n.noGoogleServicesWarning,
|
PlatformInfos.isAndroid
|
||||||
|
? l10n.noGoogleServicesWarning
|
||||||
|
: l10n.oopsPushError,
|
||||||
)));
|
)));
|
||||||
if (null == await store.getItem(SettingKeys.showNoGoogle)) {
|
if (null == await store.getItem(SettingKeys.showNoGoogle)) {
|
||||||
await store.setItemBool(SettingKeys.showNoGoogle, false);
|
await store.setItemBool(SettingKeys.showNoGoogle, false);
|
||||||
|
Loading…
Reference in New Issue
Block a user