This commit is contained in:
M66B
2021-07-29 11:04:30 +02:00
parent 02fa71092e
commit 1431a57568
2 changed files with 0 additions and 10 deletions

View File

@@ -134,7 +134,6 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
private Button btnCiphers;
private Button btnFiles;
private Group grpDeepL;
private Group grpUpdates;
private CardView cardDebug;
@@ -245,7 +244,6 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
btnCiphers = view.findViewById(R.id.btnCiphers);
btnFiles = view.findViewById(R.id.btnFiles);
grpDeepL = view.findViewById(R.id.grpDeepL);
grpUpdates = view.findViewById(R.id.grpUpdates);
cardDebug = view.findViewById(R.id.cardDebug);
@@ -846,8 +844,6 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
}
});
grpDeepL.setVisibility(DeepL.canTranslate(getContext()) ? View.VISIBLE : View.GONE);
grpUpdates.setVisibility(!BuildConfig.DEBUG &&
(Helper.isPlayStoreInstall() || !Helper.hasValidFingerprint(getContext()))
? View.GONE : View.VISIBLE);