mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-19 01:27:18 -04:00
Removed a now useless option
This commit is contained in:
parent
35c23be3f0
commit
d48ab790a0
@ -8,6 +8,7 @@ public class LauncherPreferences
|
|||||||
{
|
{
|
||||||
public static SharedPreferences DEFAULT_PREF;
|
public static SharedPreferences DEFAULT_PREF;
|
||||||
public static String PREF_RENDERER = "opengles2";
|
public static String PREF_RENDERER = "opengles2";
|
||||||
|
|
||||||
public static boolean PREF_VERTYPE_RELEASE = true;
|
public static boolean PREF_VERTYPE_RELEASE = true;
|
||||||
public static boolean PREF_VERTYPE_SNAPSHOT = false;
|
public static boolean PREF_VERTYPE_SNAPSHOT = false;
|
||||||
public static boolean PREF_VERTYPE_OLDALPHA = false;
|
public static boolean PREF_VERTYPE_OLDALPHA = false;
|
||||||
@ -16,7 +17,6 @@ public class LauncherPreferences
|
|||||||
public static boolean PREF_HIDE_SIDEBAR = false;
|
public static boolean PREF_HIDE_SIDEBAR = false;
|
||||||
public static boolean PREF_IGNORE_NOTCH = false;
|
public static boolean PREF_IGNORE_NOTCH = false;
|
||||||
public static boolean PREF_BACK_TO_RIGHT_MOUSE = false;
|
public static boolean PREF_BACK_TO_RIGHT_MOUSE = false;
|
||||||
public static boolean PREF_BUTTON_FLAT = false;
|
|
||||||
public static int PREF_NOTCH_SIZE = 0;
|
public static int PREF_NOTCH_SIZE = 0;
|
||||||
public static float PREF_BUTTONSIZE = 100f;
|
public static float PREF_BUTTONSIZE = 100f;
|
||||||
public static float PREF_MOUSESCALE = 100f;
|
public static float PREF_MOUSESCALE = 100f;
|
||||||
@ -33,6 +33,7 @@ public class LauncherPreferences
|
|||||||
public static String PREF_DEFAULT_RUNTIME;
|
public static String PREF_DEFAULT_RUNTIME;
|
||||||
public static void loadPreferences() {
|
public static void loadPreferences() {
|
||||||
PREF_RENDERER = DEFAULT_PREF.getString("renderer", "opengles2");
|
PREF_RENDERER = DEFAULT_PREF.getString("renderer", "opengles2");
|
||||||
|
|
||||||
PREF_BUTTONSIZE = DEFAULT_PREF.getInt("buttonscale", 100);
|
PREF_BUTTONSIZE = DEFAULT_PREF.getInt("buttonscale", 100);
|
||||||
PREF_MOUSESCALE = DEFAULT_PREF.getInt("mousescale", 100);
|
PREF_MOUSESCALE = DEFAULT_PREF.getInt("mousescale", 100);
|
||||||
PREF_MOUSESPEED = ((float)DEFAULT_PREF.getInt("mousespeed",100))/100f;
|
PREF_MOUSESPEED = ((float)DEFAULT_PREF.getInt("mousespeed",100))/100f;
|
||||||
@ -40,7 +41,6 @@ public class LauncherPreferences
|
|||||||
PREF_HIDE_SIDEBAR = DEFAULT_PREF.getBoolean("hideSidebar", false);
|
PREF_HIDE_SIDEBAR = DEFAULT_PREF.getBoolean("hideSidebar", false);
|
||||||
PREF_IGNORE_NOTCH = DEFAULT_PREF.getBoolean("ignoreNotch", false);
|
PREF_IGNORE_NOTCH = DEFAULT_PREF.getBoolean("ignoreNotch", false);
|
||||||
PREF_BACK_TO_RIGHT_MOUSE = DEFAULT_PREF.getBoolean("backToRightMouse", false);
|
PREF_BACK_TO_RIGHT_MOUSE = DEFAULT_PREF.getBoolean("backToRightMouse", false);
|
||||||
PREF_BUTTON_FLAT = DEFAULT_PREF.getBoolean("flatButtonStyle", false);
|
|
||||||
PREF_VERTYPE_RELEASE = DEFAULT_PREF.getBoolean("vertype_release", true);
|
PREF_VERTYPE_RELEASE = DEFAULT_PREF.getBoolean("vertype_release", true);
|
||||||
PREF_VERTYPE_SNAPSHOT = DEFAULT_PREF.getBoolean("vertype_snapshot", false);
|
PREF_VERTYPE_SNAPSHOT = DEFAULT_PREF.getBoolean("vertype_snapshot", false);
|
||||||
PREF_VERTYPE_OLDALPHA = DEFAULT_PREF.getBoolean("vertype_oldalpha", false);
|
PREF_VERTYPE_OLDALPHA = DEFAULT_PREF.getBoolean("vertype_oldalpha", false);
|
||||||
|
@ -24,12 +24,6 @@
|
|||||||
app2:selectable="false"
|
app2:selectable="false"
|
||||||
app2:icon="@drawable/tap_len" />
|
app2:icon="@drawable/tap_len" />
|
||||||
|
|
||||||
<androidx.preference.SwitchPreferenceCompat
|
|
||||||
android:defaultValue="false"
|
|
||||||
android:key="flatButtonStyle"
|
|
||||||
android:summary="@string/mcl_setting_subtitle_flat_button_style"
|
|
||||||
android:title="@string/mcl_setting_title_flat_button_style"
|
|
||||||
app2:icon="@drawable/ic_flatstyle" />
|
|
||||||
|
|
||||||
<androidx.preference.SwitchPreferenceCompat
|
<androidx.preference.SwitchPreferenceCompat
|
||||||
android:defaultValue="false"
|
android:defaultValue="false"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user