diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2024-01-02 16:44:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-02 16:44:15 +0100 |
commit | 974ccb6f006debad4cd4cc258bb01402829b2650 (patch) | |
tree | 020dd2ae9556db773cbc7369e452908a4d35e292 | |
parent | Merge pull request #12544 from zhaobot/tx-update-20240101021433 (diff) | |
parent | android: Use case-insensitive check for addon directory (diff) | |
download | yuzu-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 |
-rw-r--r-- | src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/AddonsFragment.kt | 2 |
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, |