Allow category names with different casing (fixes #3465)

This commit is contained in:
arkon
2020-07-14 09:04:15 -04:00
parent a928d9fa0b
commit 4bc2288806
3 changed files with 3 additions and 6 deletions

View File

@@ -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 }
}
}