mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-07-11 23:04:33 -05:00
Update dependency com.pinterest.ktlint:ktlint-cli to v1.8.0 (#1786)
* Update dependency com.pinterest.ktlint:ktlint-cli to v1.8.0 * Format --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Syer10 <syer10@users.noreply.github.com>
This commit is contained in:
@@ -319,6 +319,7 @@ object OpdsEntryBuilder {
|
||||
}
|
||||
titlePrefix = statusKey.localized(locale)
|
||||
}
|
||||
|
||||
is ProgressSource.Remote -> {
|
||||
idSuffix = ":remote"
|
||||
titlePrefix = MR.strings.opds_chapter_status_synced.localized(locale, progressSource.device)
|
||||
@@ -378,6 +379,7 @@ object OpdsEntryBuilder {
|
||||
}
|
||||
titleRes.localized(locale)
|
||||
}
|
||||
|
||||
progressSource is ProgressSource.Local -> {
|
||||
val titleRes =
|
||||
if (progressSource.lastPageRead > 0) {
|
||||
@@ -387,6 +389,7 @@ object OpdsEntryBuilder {
|
||||
}
|
||||
titleRes.localized(locale)
|
||||
}
|
||||
|
||||
progressSource is ProgressSource.Remote -> {
|
||||
val titleRes =
|
||||
if (progressSource.lastPageRead > 0) {
|
||||
@@ -396,7 +399,11 @@ object OpdsEntryBuilder {
|
||||
}
|
||||
titleRes.localized(locale, progressSource.device)
|
||||
}
|
||||
else -> "" // Should not happen
|
||||
|
||||
else -> {
|
||||
// Should not happen
|
||||
""
|
||||
}
|
||||
}
|
||||
|
||||
links.add(
|
||||
|
||||
Reference in New Issue
Block a user