mirror of
https://github.com/mihonapp/mihon.git
synced 2025-11-16 14:07:28 +01:00
Allow category names with different casing (fixes #3465)
This commit is contained in:
@@ -101,6 +101,6 @@ class CategoryPresenter(
|
||||
* Returns true if a category with the given name already exists.
|
||||
*/
|
||||
private fun categoryExists(name: String): Boolean {
|
||||
return categories.any { it.name.equals(name, true) }
|
||||
return categories.any { it.name == name }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user