-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
klima7
committed
Dec 18, 2021
1 parent
1ab35f8
commit 32f7b19
Showing
2 changed files
with
2 additions
and
32 deletions.
There are no files selected for viewing
17 changes: 1 addition & 16 deletions
17
client/src/main/java/com/klima7/services/client/features/splash/SplashViewModel.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
17 changes: 1 addition & 16 deletions
17
expert/src/main/java/com/klima7/services/expert/features/splash/SplashViewModel.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |