mirror of
https://github.com/mihonapp/mihon.git
synced 2025-01-27 18:34:55 +01:00
Update UpdateManga.kt
This commit is contained in:
parent
7806ef0450
commit
8f6e3b9f64
@ -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
|
// if the manga isn't a favorite (or 'update titles' preference is enabled), set its title from source and update in db
|
||||||
val title =
|
val title =
|
||||||
if (remoteTitle.isNotEmpty() && (!localManga.favorite || libraryPreferences.updateMangaTitles().get()))
|
if (remoteTitle.isNotEmpty() && (!localManga.favorite || libraryPreferences.updateMangaTitles().get())) {
|
||||||
remoteTitle
|
remoteTitle
|
||||||
else
|
} else {
|
||||||
null
|
null
|
||||||
|
}
|
||||||
|
|
||||||
val coverLastModified =
|
val coverLastModified =
|
||||||
when {
|
when {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user