mirror of
https://gitlab.com/suyu-emu/suyu.git
synced 2024-03-15 23:15:44 +00:00
Merge pull request #12552 from t895/i-am-a-dummy
android: Use case-insensitive check for addon directory
This commit is contained in:
commit
974ccb6f00
|
@ -149,7 +149,7 @@ class AddonsFragment : Fragment() {
|
||||||
}
|
}
|
||||||
|
|
||||||
val isValid = externalAddonDirectory.listFiles()
|
val isValid = externalAddonDirectory.listFiles()
|
||||||
.any { AddonUtil.validAddonDirectories.contains(it.name) }
|
.any { AddonUtil.validAddonDirectories.contains(it.name?.lowercase()) }
|
||||||
val errorMessage = MessageDialogFragment.newInstance(
|
val errorMessage = MessageDialogFragment.newInstance(
|
||||||
requireActivity(),
|
requireActivity(),
|
||||||
titleId = R.string.invalid_directory,
|
titleId = R.string.invalid_directory,
|
||||||
|
|
Loading…
Reference in a new issue