mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
fix ktlint warnings
This commit is contained in:
parent
b6fe149ea0
commit
831647df76
2 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
|
|
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue