mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-21 20:47:03 -05:00
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
2 changed files with 1 additions and 1 deletions
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 a new issue