Updated on 2026-08-14
This commit is contained in:
parent
c176dc37c4
commit
d0bedbb068
2 changed files with 5 additions and 7 deletions
|
|
@ -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,
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue