forked from geode-sdk/android-launcher
disable custom symbol list option
This commit is contained in:
2 files changed
+4
No files matched your search
@@ -147,11 +147,13 @@ class GeometryDashActivity : AppCompatActivity(), Cocos2dxHelper.Cocos2dxHelperL
|
|||||||
tryLoadLibrary(gdPackageInfo, Constants.COCOS_LIB_NAME)
|
tryLoadLibrary(gdPackageInfo, Constants.COCOS_LIB_NAME)
|
||||||
|
|
||||||
if (GamePackageUtils.getGameVersionCode(packageManager) >= 39L) {
|
if (GamePackageUtils.getGameVersionCode(packageManager) >= 39L) {
|
||||||
|
/*
|
||||||
val customSymbols = PreferenceUtils.get(this).getBoolean(PreferenceUtils.Key.CUSTOM_SYMBOL_LIST)
|
val customSymbols = PreferenceUtils.get(this).getBoolean(PreferenceUtils.Key.CUSTOM_SYMBOL_LIST)
|
||||||
if (customSymbols) {
|
if (customSymbols) {
|
||||||
val symbolFile = File(LaunchUtils.getBaseDirectory(this), "exception_symbols.txt")
|
val symbolFile = File(LaunchUtils.getBaseDirectory(this), "exception_symbols.txt")
|
||||||
LauncherFix.enableCustomSymbolList(symbolFile.path)
|
LauncherFix.enableCustomSymbolList(symbolFile.path)
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
// this fix requires geode v3, which is 2.206+
|
// this fix requires geode v3, which is 2.206+
|
||||||
// there is a short period in which 2.206 users will still have geode v2, but whatever. ig
|
// there is a short period in which 2.206 users will still have geode v2, but whatever. ig
|
||||||
|
|||||||
@@ -135,11 +135,13 @@ fun DeveloperSettingsScreen(onBackPressedDispatcher: OnBackPressedDispatcher?) {
|
|||||||
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890!@#$%^&*(){}<>[]?:;'\"~`-_+=\\| ".contains(c)
|
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890!@#$%^&*(){}<>[]?:;'\"~`-_+=\\| ".contains(c)
|
||||||
}}
|
}}
|
||||||
)
|
)
|
||||||
|
/*
|
||||||
SettingsCard(
|
SettingsCard(
|
||||||
title = stringResource(R.string.preference_override_exceptions_name),
|
title = stringResource(R.string.preference_override_exceptions_name),
|
||||||
description = stringResource(R.string.preference_override_exceptions_description),
|
description = stringResource(R.string.preference_override_exceptions_description),
|
||||||
preferenceKey = PreferenceUtils.Key.CUSTOM_SYMBOL_LIST
|
preferenceKey = PreferenceUtils.Key.CUSTOM_SYMBOL_LIST
|
||||||
)
|
)
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
OptionsGroup(title = stringResource(R.string.preference_category_updater)) {
|
OptionsGroup(title = stringResource(R.string.preference_category_updater)) {
|
||||||
|
|||||||
Reference in new issue
Block a user