Skip to content

Commit

Permalink
Fix missing account history
Browse files Browse the repository at this point in the history
  • Loading branch information
Rawa authored and albin-mullvad committed Nov 15, 2023
1 parent 7050e43 commit 246d378
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class AccountRepository(
.events<Event.AccountHistoryEvent>()
.map { it.history }
.onStart { fetchAccountHistory() }
.stateIn(CoroutineScope(dispatcher), SharingStarted.Eagerly, AccountHistory.Missing)
.stateIn(CoroutineScope(dispatcher), SharingStarted.Lazily, AccountHistory.Missing)

private val loginEvents: SharedFlow<LoginResult> =
messageHandler
Expand Down

0 comments on commit 246d378

Please sign in to comment.