不设置为 refresh

This commit is contained in:
renhaoting 2026-01-19 17:29:00 +08:00
parent 51d3581513
commit 3c13586113
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ abstract class BaseMemoryRefreshLoadMoreRepository<Key : Any?, Value : Any>(priv
override val loadState = MutableStateFlow<LoadState?>(null) override val loadState = MutableStateFlow<LoadState?>(null)
private val getDataFlow: Flow<Key?> = combine(keyFlow, forceUpdateFlow) { key, _ -> private val getDataFlow: Flow<Key?> = combine(keyFlow, forceUpdateFlow) { key, _ ->
val isRefresh = key == initKey val isRefresh = /*key == initKey*/ false
// LoadState-Loading // LoadState-Loading
loadState.update { loadState.update {