0.3.12
This commit is contained in:
@@ -62,7 +62,7 @@ val projectNoticeText =
|
||||
rootProject.file("NOTICE").readText()
|
||||
.replace("https://g.sublogue.com/admin/memby", membySourceUrl)
|
||||
|
||||
val defaultVersionName = "0.3.11"
|
||||
val defaultVersionName = "0.3.12"
|
||||
val membyVersionName: String =
|
||||
(project.findProperty("memby.versionName") as String?)
|
||||
?.trim()
|
||||
|
||||
@@ -61,7 +61,6 @@ import androidx.lifecycle.Lifecycle
|
||||
import androidx.lifecycle.repeatOnLifecycle
|
||||
import coil.imageLoader
|
||||
import coil.request.ImageRequest
|
||||
import coil.request.Priority
|
||||
import com.ponzischeme89.memby.R
|
||||
import com.ponzischeme89.memby.ServiceLocator
|
||||
import com.ponzischeme89.memby.data.Settings
|
||||
@@ -270,7 +269,6 @@ internal fun HomeArtworkPreloader(
|
||||
.data(url)
|
||||
.size(widthPx, heightPx)
|
||||
.allowHardware(true)
|
||||
.priority(Priority.LOW)
|
||||
.crossfade(false)
|
||||
.build(),
|
||||
)
|
||||
|
||||
@@ -153,7 +153,7 @@ class HomeViewModel(private val repository: EmbyRepository) : ViewModel() {
|
||||
|
||||
/** The metadata panel only needs this small projection, not the row payloads. */
|
||||
val loading: StateFlow<Set<HomeSection>> = _state
|
||||
.map(HomeUiState::loading)
|
||||
.map { state: HomeUiState -> state.loading }
|
||||
.distinctUntilChanged()
|
||||
.stateIn(viewModelScope, SharingStarted.Eagerly, _state.value.loading)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user