summaryrefslogtreecommitdiffstats
path: root/src/android/app
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2024-01-02 16:44:15 +0100
committerGitHub <noreply@github.com>2024-01-02 16:44:15 +0100
commit974ccb6f006debad4cd4cc258bb01402829b2650 (patch)
tree020dd2ae9556db773cbc7369e452908a4d35e292 /src/android/app
parentMerge pull request #12544 from zhaobot/tx-update-20240101021433 (diff)
parentandroid: Use case-insensitive check for addon directory (diff)
downloadyuzu-974ccb6f006debad4cd4cc258bb01402829b2650.tar
yuzu-974ccb6f006debad4cd4cc258bb01402829b2650.tar.gz
yuzu-974ccb6f006debad4cd4cc258bb01402829b2650.tar.bz2
yuzu-974ccb6f006debad4cd4cc258bb01402829b2650.tar.lz
yuzu-974ccb6f006debad4cd4cc258bb01402829b2650.tar.xz
yuzu-974ccb6f006debad4cd4cc258bb01402829b2650.tar.zst
yuzu-974ccb6f006debad4cd4cc258bb01402829b2650.zip
Diffstat (limited to 'src/android/app')
-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,