Updated on 2026-08-14

This commit is contained in:
Tangem 2024-09-20 18:55:00 +05:00
commit 21efbdc267

View file

@ -1,10 +1,7 @@
package com.tangem.features.staking.impl.presentation.viewmodel package com.tangem.features.staking.impl.presentation.viewmodel
import android.os.Bundle import android.os.Bundle
import androidx.lifecycle.DefaultLifecycleObserver import androidx.lifecycle.*
import androidx.lifecycle.SavedStateHandle
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import arrow.core.getOrElse import arrow.core.getOrElse
import com.tangem.blockchain.common.transaction.TransactionFee import com.tangem.blockchain.common.transaction.TransactionFee
import com.tangem.common.routing.AppRoute import com.tangem.common.routing.AppRoute
@ -171,7 +168,7 @@ internal class StakingViewModel @Inject constructor(
private val stakingEventFactory: StakingEventFactory private val stakingEventFactory: StakingEventFactory
get() = StakingEventFactory( get() = StakingEventFactory(
stateController = stateController, stateController = stateController,
popBackStack = stakingStateRouter::onBackClick, popBackStack = ::onBackClick,
onFailedTxEmailClick = ::onFailedTxEmailClick, onFailedTxEmailClick = ::onFailedTxEmailClick,
) )