mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-10 03:05:14 +00:00
fix: Dont recommend microG on iPhone
This commit is contained in:
parent
5d13a2c5d7
commit
ab4ea74d00
2 changed files with 9 additions and 2 deletions
|
@ -1223,11 +1223,16 @@
|
|||
"type": "text",
|
||||
"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": {
|
||||
"type": "text",
|
||||
"placeholders": {}
|
||||
},
|
||||
"oopsPushError": "Oops! Unfortunately, an error occurred when setting up the push notifications.",
|
||||
"@oopsPushError": {
|
||||
"type": "text",
|
||||
"placeholders": {}
|
||||
},
|
||||
"none": "None",
|
||||
"@none": {
|
||||
"type": "text",
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue