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>
This commit is contained in:
parent
2ab744c525
commit
42bf91779d
BIN
.gradle.properties.swp
Normal file
BIN
.gradle.properties.swp
Normal file
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…
Reference in New Issue
Block a user