yuzu-emu
/
yuzu-android
Archived
1
0
Fork 0

android: Use case-insensitive check for addon directory

This commit is contained in:
t895 2024-01-01 22:51:32 -05:00
parent 29b983398c
commit 3c78926d75
1 changed files with 1 additions and 1 deletions

View File

@ -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,