mirror of
				https://gitlab.com/famedly/fluffychat.git
				synced 2025-11-03 22:07:23 +01:00 
			
		
		
		
	fix: Dont recommend microG on iPhone
This commit is contained in:
		
							parent
							
								
									48506e245a
								
							
						
					
					
						commit
						8921389e15
					
				@ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user