Update UpdateManga.kt

This commit is contained in:
FlaminSarge 2024-11-24 02:21:50 -08:00 committed by FlaminSarge
parent 7806ef0450
commit 8f6e3b9f64

View File

@ -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 {