This commit is contained in:
ponzischeme89
2026-08-23 18:55:04 +12:00
parent aa8f16f21b
commit 5107c4b0fc
3 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ val projectNoticeText =
rootProject.file("NOTICE").readText() rootProject.file("NOTICE").readText()
.replace("https://g.sublogue.com/admin/memby", membySourceUrl) .replace("https://g.sublogue.com/admin/memby", membySourceUrl)
val defaultVersionName = "0.3.11" val defaultVersionName = "0.3.12"
val membyVersionName: String = val membyVersionName: String =
(project.findProperty("memby.versionName") as String?) (project.findProperty("memby.versionName") as String?)
?.trim() ?.trim()
@@ -61,7 +61,6 @@ import androidx.lifecycle.Lifecycle
import androidx.lifecycle.repeatOnLifecycle import androidx.lifecycle.repeatOnLifecycle
import coil.imageLoader import coil.imageLoader
import coil.request.ImageRequest import coil.request.ImageRequest
import coil.request.Priority
import com.ponzischeme89.memby.R import com.ponzischeme89.memby.R
import com.ponzischeme89.memby.ServiceLocator import com.ponzischeme89.memby.ServiceLocator
import com.ponzischeme89.memby.data.Settings import com.ponzischeme89.memby.data.Settings
@@ -270,7 +269,6 @@ internal fun HomeArtworkPreloader(
.data(url) .data(url)
.size(widthPx, heightPx) .size(widthPx, heightPx)
.allowHardware(true) .allowHardware(true)
.priority(Priority.LOW)
.crossfade(false) .crossfade(false)
.build(), .build(),
) )
@@ -153,7 +153,7 @@ class HomeViewModel(private val repository: EmbyRepository) : ViewModel() {
/** The metadata panel only needs this small projection, not the row payloads. */ /** The metadata panel only needs this small projection, not the row payloads. */
val loading: StateFlow<Set<HomeSection>> = _state val loading: StateFlow<Set<HomeSection>> = _state
.map(HomeUiState::loading) .map { state: HomeUiState -> state.loading }
.distinctUntilChanged() .distinctUntilChanged()
.stateIn(viewModelScope, SharingStarted.Eagerly, _state.value.loading) .stateIn(viewModelScope, SharingStarted.Eagerly, _state.value.loading)