Enable DeepL for Play store

This commit is contained in:
M66B
2021-06-29 17:12:22 +02:00
parent e26963f9be
commit 10fa9e2710
2 changed files with 2 additions and 4 deletions

View File

@@ -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) {