Skip to content

Commit

Permalink
AND-7219 Removed unused job holder.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sateetas committed Jun 6, 2024
1 parent 17930b6 commit 558625c
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,20 +47,13 @@ internal class StakingViewModel @Inject constructor(

private var cryptoCurrencyStatus: CryptoCurrencyStatus by Delegates.notNull()

private var balanceHidingJobHolder = JobHolder()

private var innerRouter: InnerStakingRouter by Delegates.notNull()

init {
subscribeOnBalanceHiding()
subscribeOnCurrencyStatusUpdates()
}

override fun onCleared() {
balanceHidingJobHolder.cancel()
super.onCleared()
}

fun setRouter(router: InnerStakingRouter, stakingStateRouter: StakingStateRouter) {
innerRouter = router
this.stakingStateRouter = stakingStateRouter
Expand Down

0 comments on commit 558625c

Please # to comment.