Skip to content

Commit

Permalink
Updating token every launch removed
Browse files Browse the repository at this point in the history
  • Loading branch information
klima7 committed Dec 18, 2021
1 parent 1ab35f8 commit 32f7b19
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 32 deletions.
Original file line number Diff line number Diff line change
@@ -1,22 +1,7 @@
package com.klima7.services.client.features.splash

import androidx.lifecycle.viewModelScope
import com.klima7.services.client.messaging.UpdateTokenUC
import com.klima7.services.common.components.splash.BaseSplashViewModel
import com.klima7.services.common.core.None

class SplashViewModel(
getCurrentClientStateUC: GetCurrentClientStateUC,
): BaseSplashViewModel(getCurrentClientStateUC) {

override fun started(offerId: String?) {
super.started(offerId)
UpdateTokenUC().start(
viewModelScope,
None(),
{},
{}
)
}

}
): BaseSplashViewModel(getCurrentClientStateUC)
Original file line number Diff line number Diff line change
@@ -1,22 +1,7 @@
package com.klima7.services.expert.features.splash

import androidx.lifecycle.viewModelScope
import com.klima7.services.common.components.splash.BaseSplashViewModel
import com.klima7.services.common.core.None
import com.klima7.services.expert.messaging.UpdateTokenUC

class SplashViewModel(
getCurrentExpertStateUC: GetCurrentExpertStateUC
): BaseSplashViewModel(getCurrentExpertStateUC) {

override fun started(offerId: String?) {
super.started(offerId)
UpdateTokenUC().start(
viewModelScope,
None(),
{},
{}
)
}

}
): BaseSplashViewModel(getCurrentExpertStateUC)

0 comments on commit 32f7b19

Please sign in to comment.