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

Merge pull request #12552 from t895/i-am-a-dummy

android: Use case-insensitive check for addon directory
This commit is contained in:
liamwhite 2024-01-02 10:44:15 -05:00 committed by GitHub
commit 974ccb6f00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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,