Fix #2809 本地模组列表搜索 (#2810)

This commit is contained in:
Burning_TNT 2024-02-15 18:56:46 +08:00 committed by GitHub
parent 95ecd29018
commit 4d6cb547ea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -223,7 +223,7 @@ class ModListPageSkin extends SkinBase<ModListPage> {
}
} else {
String lowerQueryString = queryString.toLowerCase(Locale.ROOT);
predicate = s -> s.contains(lowerQueryString);
predicate = s -> s.toLowerCase(Locale.ROOT).contains(lowerQueryString);
}
// Do we need to search in the background thread?