NTP-3393 | fix import and LAD screen (#12482)

This commit is contained in:
Shaurya Rehan
2024-09-11 17:53:47 +05:30
committed by GitHub
parent 8552d8d97a
commit 53387f7fe7
3 changed files with 6 additions and 5 deletions

View File

@@ -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

View File

@@ -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
)
)

View File

@@ -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()