NTP-3393 | fix import and LAD screen (#12482)
This commit is contained in:
@@ -9,8 +9,8 @@ package com.navi.pay.management.lite.viewmodel
|
||||
|
||||
import androidx.annotation.StringRes
|
||||
import androidx.lifecycle.viewModelScope
|
||||
import com.google.common.reflect.TypeToken
|
||||
import com.google.gson.Gson
|
||||
import com.google.gson.reflect.TypeToken
|
||||
import com.navi.base.cache.datastore.DataStoreInfoProvider
|
||||
import com.navi.base.utils.EMPTY
|
||||
import com.navi.base.utils.ResourceProvider
|
||||
@@ -138,7 +138,6 @@ import kotlinx.coroutines.flow.SharingStarted
|
||||
import kotlinx.coroutines.flow.asSharedFlow
|
||||
import kotlinx.coroutines.flow.asStateFlow
|
||||
import kotlinx.coroutines.flow.combine
|
||||
import kotlinx.coroutines.flow.first
|
||||
import kotlinx.coroutines.flow.flowOn
|
||||
import kotlinx.coroutines.flow.map
|
||||
import kotlinx.coroutines.flow.stateIn
|
||||
|
||||
@@ -281,7 +281,8 @@ fun LinkedAccountDetailScreen(
|
||||
} else {
|
||||
navigator.navigate(
|
||||
LinkedAccountVerifyScreenDestination(
|
||||
bankAccountUniqueId = bankAccountUniqueId,
|
||||
bankAccountUniqueId =
|
||||
linkedAccountDetailViewModel.bankAccountUniqueId,
|
||||
actionName = ACTION_PIN_SET
|
||||
)
|
||||
)
|
||||
@@ -325,7 +326,8 @@ fun LinkedAccountDetailScreen(
|
||||
} else {
|
||||
navigator.navigate(
|
||||
LinkedAccountVerifyScreenDestination(
|
||||
bankAccountUniqueId = bankAccountUniqueId,
|
||||
bankAccountUniqueId =
|
||||
linkedAccountDetailViewModel.bankAccountUniqueId,
|
||||
actionName = ACTION_PIN_RESET
|
||||
)
|
||||
)
|
||||
|
||||
@@ -140,7 +140,7 @@ constructor(
|
||||
private val _upiLiteBalance = MutableStateFlow("")
|
||||
val upiLiteBalance = _upiLiteBalance.asStateFlow()
|
||||
|
||||
private val bankAccountUniqueId: String =
|
||||
val bankAccountUniqueId: String =
|
||||
savedStateHandle.get<String>("bankAccountUniqueId")?.takeIf { it.isNotEmpty() }
|
||||
?: naviPayActivityDataProvider
|
||||
.getIntentData()
|
||||
|
||||
Reference in New Issue
Block a user