1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-21 21:57:19 +00:00

Really enable DeepL for Play store

This commit is contained in:
M66B 2021-07-20 20:50:49 +02:00
parent 94efe3319a
commit 52e863cd1f

View file

@ -846,7 +846,7 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
}
});
grpDeepL.setVisibility(BuildConfig.PLAY_STORE_RELEASE ? View.GONE : View.VISIBLE);
grpDeepL.setVisibility(DeepL.canTranslate(getContext()) ? View.VISIBLE : View.GONE);
grpUpdates.setVisibility(!BuildConfig.DEBUG &&
(Helper.isPlayStoreInstall() || !Helper.hasValidFingerprint(getContext()))