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>
Cette révision appartient à :
Parent
2ab744c525
révision
42bf91779d
2 fichiers modifiés avec 1 ajouts et 1 suppressions
BIN
.gradle.properties.swp
Fichier normal
BIN
.gradle.properties.swp
Fichier normal
Fichier binaire non affiché.
|
@ -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 }
|
||||
}
|
||||
|
|
Référencer dans un nouveau ticket