Minor cleanup
This commit is contained in:
parent
d53ebe5314
commit
2306038c74
@ -53,7 +53,7 @@ fun BrowseSourceToolbar(
|
|||||||
title = if (state.isUserQuery) state.currentFilter.query else source?.name.orEmpty(),
|
title = if (state.isUserQuery) state.currentFilter.query else source?.name.orEmpty(),
|
||||||
isLocalSource = source is LocalSource,
|
isLocalSource = source is LocalSource,
|
||||||
// SY -->
|
// SY -->
|
||||||
isConfigurableSource = source.anyIs<ConfigurableSource>(),
|
isConfigurableSource = source?.anyIs<ConfigurableSource>() ?: false,
|
||||||
// SY <--
|
// SY <--
|
||||||
displayMode = displayMode,
|
displayMode = displayMode,
|
||||||
onDisplayModeChange = onDisplayModeChange,
|
onDisplayModeChange = onDisplayModeChange,
|
||||||
|
@ -43,8 +43,8 @@ import kotlinx.coroutines.launch
|
|||||||
import kotlinx.coroutines.runBlocking
|
import kotlinx.coroutines.runBlocking
|
||||||
import rx.Observable
|
import rx.Observable
|
||||||
import uy.kohesive.injekt.injectLazy
|
import uy.kohesive.injekt.injectLazy
|
||||||
import kotlin.reflect.KClass
|
|
||||||
import java.util.concurrent.ConcurrentHashMap
|
import java.util.concurrent.ConcurrentHashMap
|
||||||
|
import kotlin.reflect.KClass
|
||||||
|
|
||||||
class SourceManager(
|
class SourceManager(
|
||||||
private val context: Context,
|
private val context: Context,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user