Updated on 2026-08-14

This commit is contained in:
Tangem 2026-07-06 01:40:37 -07:00
parent c176dc37c4
commit d0bedbb068
2 changed files with 5 additions and 7 deletions

View file

@ -82,8 +82,8 @@ internal class TangemPayDetailsComponent(
init {
promoBannersBlockComponent.setVisibleOnScreen(true)
lifecycle.subscribe(
onPause = model::onPause,
onResume = model::onResume,
onStart = model::onStart,
onStop = model::onStop,
)
}

View file

@ -170,13 +170,11 @@ internal class TangemPayDetailsModel @Inject constructor(
.launchIn(modelScope)
}
fun onResume() {
modelScope.launch {
expressTransactionsEventListener.send(ExpressTransactionsEvent.Update)
}
fun onStart() {
onRefreshSwipe(refreshState = ShowRefreshState(false))
}
fun onPause() {
fun onStop() {
modelScope.launch {
expressTransactionsEventListener.send(ExpressTransactionsEvent.Clear)
}