mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-27 19:35:10 +01:00
Enable DeepL for Play store
This commit is contained in:
@@ -73,8 +73,7 @@ public class DeepL {
|
||||
|
||||
public static boolean isAvailable(Context context) {
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
||||
boolean deepl_enabled = prefs.getBoolean("deepl_enabled", false);
|
||||
return (deepl_enabled && !BuildConfig.PLAY_STORE_RELEASE);
|
||||
return prefs.getBoolean("deepl_enabled", false);
|
||||
}
|
||||
|
||||
public static boolean canTranslate(Context context) {
|
||||
|
||||
Reference in New Issue
Block a user