NTP-43193 | Onboarded QR Card click fix (#15167)
This commit is contained in:
@@ -61,7 +61,15 @@ fun QROnboardedView(
|
||||
Column(
|
||||
horizontalAlignment = Alignment.CenterHorizontally,
|
||||
modifier =
|
||||
Modifier.height(404.dp).padding(top = 16.dp, bottom = 32.dp, start = 40.dp, end = 40.dp),
|
||||
Modifier.height(404.dp)
|
||||
.conditional(isBankContainerClickable) {
|
||||
noRippleClickableWithDebounce {
|
||||
qrDetails.linkedAccountEntity?.let { account ->
|
||||
onSelected(SettingAction.AccountDetails(linkedAccountEntity = account))
|
||||
}
|
||||
}
|
||||
}
|
||||
.padding(top = 16.dp, bottom = 32.dp, start = 40.dp, end = 40.dp),
|
||||
) {
|
||||
if (qrDetails.linkedAccountEntity?.isAccountPrimary.orFalse()) {
|
||||
PrimaryAccountTypeTag()
|
||||
@@ -70,17 +78,7 @@ fun QROnboardedView(
|
||||
}
|
||||
Spacer(modifier = Modifier.height(4.dp))
|
||||
Row(
|
||||
modifier =
|
||||
Modifier.conditional(isBankContainerClickable) {
|
||||
noRippleClickableWithDebounce {
|
||||
qrDetails.linkedAccountEntity?.let { account ->
|
||||
onSelected(
|
||||
SettingAction.AccountDetails(linkedAccountEntity = account)
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
.padding(vertical = 2.dp),
|
||||
modifier = Modifier.padding(vertical = 2.dp),
|
||||
verticalAlignment = Alignment.CenterVertically,
|
||||
horizontalArrangement = Arrangement.Center,
|
||||
) {
|
||||
@@ -209,6 +207,7 @@ fun QRNonOnboardedView(qrDetails: QrDetails?, onSelected: (SettingAction) -> Uni
|
||||
CardType.NON_ONBOARDED.name -> {
|
||||
onSelected(SettingAction.Onboarding)
|
||||
}
|
||||
|
||||
else -> {
|
||||
onSelected(SettingAction.AddAccount)
|
||||
}
|
||||
|
||||
@@ -1923,9 +1923,7 @@ constructor(
|
||||
)
|
||||
}
|
||||
} else {
|
||||
if (!isPaymentFromLiteAccount) {
|
||||
updateScreenState(screenState = SendMoneyScreenState.PaymentInProgressPostPinInput)
|
||||
}
|
||||
updateScreenState(screenState = SendMoneyScreenState.PaymentInProgressPostPinInput)
|
||||
if (!checkIsInternetAvailableOrShowError()) return
|
||||
if (checkIsAirplaneModeOnOrShowError()) return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user