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(),
|
||||
isLocalSource = source is LocalSource,
|
||||
// SY -->
|
||||
isConfigurableSource = source.anyIs<ConfigurableSource>(),
|
||||
isConfigurableSource = source?.anyIs<ConfigurableSource>() ?: false,
|
||||
// SY <--
|
||||
displayMode = displayMode,
|
||||
onDisplayModeChange = onDisplayModeChange,
|
||||
|
@ -43,8 +43,8 @@ import kotlinx.coroutines.launch
|
||||
import kotlinx.coroutines.runBlocking
|
||||
import rx.Observable
|
||||
import uy.kohesive.injekt.injectLazy
|
||||
import kotlin.reflect.KClass
|
||||
import java.util.concurrent.ConcurrentHashMap
|
||||
import kotlin.reflect.KClass
|
||||
|
||||
class SourceManager(
|
||||
private val context: Context,
|
||||
|
Loading…
x
Reference in New Issue
Block a user