Skip to content

Commit

Permalink
Update UpdateManga.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
FlaminSarge authored Nov 24, 2024
1 parent e0b9026 commit 6ef5f02
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,11 @@ class UpdateManga(

// if the manga isn't a favorite (or 'update titles' preference is enabled), set its title from source and update in db
val title =
if (remoteTitle.isNotEmpty() && (!localManga.favorite || libraryPreferences.updateMangaTitles().get()))
if (remoteTitle.isNotEmpty() && (!localManga.favorite || libraryPreferences.updateMangaTitles().get())) {
remoteTitle
else
} else {
null
}

val coverLastModified =
when {
Expand Down

0 comments on commit 6ef5f02

Please sign in to comment.