mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-14 15:17:02 -04:00
Fix notch setting appearing while being useless
This commit is contained in:
parent
7b756a1925
commit
0876d9825e
@ -19,7 +19,7 @@ public class LauncherPreferenceVideoFragment extends LauncherPreferenceFragment
|
|||||||
addPreferencesFromResource(R.xml.pref_video);
|
addPreferencesFromResource(R.xml.pref_video);
|
||||||
|
|
||||||
//Disable notch checking behavior on android 8.1 and below.
|
//Disable notch checking behavior on android 8.1 and below.
|
||||||
findPreference("ignoreNotch").setVisible(Build.VERSION.SDK_INT >= Build.VERSION_CODES.P && PREF_NOTCH_SIZE != 0);
|
findPreference("ignoreNotch").setVisible(Build.VERSION.SDK_INT >= Build.VERSION_CODES.P && PREF_NOTCH_SIZE > 0);
|
||||||
|
|
||||||
CustomSeekBarPreference seek5 = findPreference("resolutionRatio");
|
CustomSeekBarPreference seek5 = findPreference("resolutionRatio");
|
||||||
seek5.setMin(25);
|
seek5.setMin(25);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user