mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
use isNotBlank in MangaImpl
This commit is contained in:
parent
6af327d0d9
commit
4f7230f3bd
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ open class MangaImpl : Manga {
|
||||||
|
|
||||||
override fun copyFrom(other: SManga) {
|
override fun copyFrom(other: SManga) {
|
||||||
if (other is MangaImpl && other::ogTitle.isInitialized &&
|
if (other is MangaImpl && other::ogTitle.isInitialized &&
|
||||||
!other.title.isBlank() && other.ogTitle != ogTitle
|
other.title.isNotBlank() && other.ogTitle != ogTitle
|
||||||
) {
|
) {
|
||||||
val oldTitle = ogTitle
|
val oldTitle = ogTitle
|
||||||
title = other.ogTitle
|
title = other.ogTitle
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue