fix ktlint warnings

This commit is contained in:
Jays2Kings 2022-12-15 00:47:37 -05:00
parent b6fe149ea0
commit 831647df76
2 changed files with 2 additions and 2 deletions

View file

@ -231,7 +231,7 @@ class DownloadService : Service() {
*/
private fun listenDownloaderState() {
subscriptions += downloadManager.runningRelay
.doOnError { /* Swallow wakelock error */ }
.doOnError { } // Swallow wakelock error
.subscribe { running ->
if (running) {
wakeLock.acquireIfNeeded()

View file

@ -782,7 +782,7 @@ class LibraryPresenter(
),
)
}
else /* BY_STATUS */ -> listOf(LibraryItem(manga, makeOrGetHeader(context.mapStatus(manga.status)), viewContext))
else -> listOf(LibraryItem(manga, makeOrGetHeader(context.mapStatus(manga.status)), viewContext)) // BY_STATUS
}
}.flatten().toMutableList()