mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2024-11-22 17:43:51 +00:00
android: Use case-insensitive check for addon directory
This commit is contained in:
parent
29b983398c
commit
3c78926d75
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ class AddonsFragment : Fragment() {
|
|||
}
|
||||
|
||||
val isValid = externalAddonDirectory.listFiles()
|
||||
.any { AddonUtil.validAddonDirectories.contains(it.name) }
|
||||
.any { AddonUtil.validAddonDirectories.contains(it.name?.lowercase()) }
|
||||
val errorMessage = MessageDialogFragment.newInstance(
|
||||
requireActivity(),
|
||||
titleId = R.string.invalid_directory,
|
||||
|
|
Loading…
Reference in a new issue