summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authort895 <clombardo169@gmail.com>2024-01-02 04:51:32 +0100
committert895 <clombardo169@gmail.com>2024-01-02 04:51:32 +0100
commit3c78926d753a9d0ff545ae90e7a0b2ee40ea6c6f (patch)
tree020dd2ae9556db773cbc7369e452908a4d35e292
parentMerge pull request #12544 from zhaobot/tx-update-20240101021433 (diff)
downloadyuzu-3c78926d753a9d0ff545ae90e7a0b2ee40ea6c6f.tar
yuzu-3c78926d753a9d0ff545ae90e7a0b2ee40ea6c6f.tar.gz
yuzu-3c78926d753a9d0ff545ae90e7a0b2ee40ea6c6f.tar.bz2
yuzu-3c78926d753a9d0ff545ae90e7a0b2ee40ea6c6f.tar.lz
yuzu-3c78926d753a9d0ff545ae90e7a0b2ee40ea6c6f.tar.xz
yuzu-3c78926d753a9d0ff545ae90e7a0b2ee40ea6c6f.tar.zst
yuzu-3c78926d753a9d0ff545ae90e7a0b2ee40ea6c6f.zip
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/AddonsFragment.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/AddonsFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/AddonsFragment.kt
index 0dce8ad8d..816336820 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/AddonsFragment.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/AddonsFragment.kt
@@ -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,