Updated on 2026-08-14
This commit is contained in:
parent
997194b3fb
commit
93bab15d0c
3 changed files with 13 additions and 13 deletions
|
|
@ -61,6 +61,7 @@ internal class DefaultHistoryTxListManager @AssistedInject constructor(
|
|||
logError(error)
|
||||
true
|
||||
}
|
||||
.runningReduce { previous, new -> if (previous.isContent && !new.isContent) previous else new }
|
||||
.flowOn(dispatchers.io)
|
||||
.stateIn(modelScope, SharingStarted.Eagerly, HistoryState.Loading)
|
||||
}
|
||||
|
|
@ -73,7 +74,7 @@ internal class DefaultHistoryTxListManager @AssistedInject constructor(
|
|||
actionsFlow.trySend(Action.LoadMore)
|
||||
}
|
||||
|
||||
private fun buildPipeline() = channelFlow {
|
||||
private fun buildPipeline(): Flow<HistoryState> = channelFlow {
|
||||
val reloadInitialLoading = flow {
|
||||
// initial load
|
||||
emit(Unit)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue