mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
chore: Adjust enum positioning
This commit is contained in:
parent
64fe569692
commit
7f41c54812
1 changed files with 1 additions and 1 deletions
|
@ -10,9 +10,9 @@ class BasePreferences(private val preferenceStore: PreferenceStore) {
|
|||
fun extensionInstaller() = preferenceStore.getEnum("extension_installer", ExtensionInstaller.PACKAGEINSTALLER)
|
||||
|
||||
enum class ExtensionInstaller(@StringRes val titleResId: Int, val requiresSystemPermission: Boolean) {
|
||||
LEGACY(R.string.ext_installer_legacy, true), // Technically useless, but just in case it being missing crashes the app
|
||||
PACKAGEINSTALLER(R.string.ext_installer_packageinstaller, true),
|
||||
SHIZUKU(R.string.ext_installer_shizuku, false),
|
||||
PRIVATE(R.string.ext_installer_private, false),
|
||||
LEGACY(R.string.ext_installer_legacy, true), // Technically useless, but just in case it being missing crashes the app
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue