Category name letter casing change not allowed when renaming (#8274)

* adding the feature

* minor reordering

* Changes from review

* including gradle.properites.swp

* Update app/src/main/java/eu/kanade/domain/category/model/Category.kt

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
pull/8256/head
d-najd 2 years ago committed by GitHub
parent 2ab744c525
commit 42bf91779d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

Binary file not shown.

@ -18,5 +18,5 @@ data class Category(
}
internal fun List<Category>.anyWithName(name: String): Boolean {
return any { name.equals(it.name, ignoreCase = true) }
return any { name == it.name }
}

Loading…
Cancel
Save