NTP-28494 | PS | arc design and sendmoney arc api fixes (#14761)
This commit is contained in:
@@ -93,7 +93,7 @@ fun MPSOnboardedView(
|
||||
onArcNudgeClicked = onArcNudgeClicked,
|
||||
)
|
||||
|
||||
BottomSheetTopGradientBox(modifier = Modifier.align(Alignment.TopStart))
|
||||
BottomSheetTopGradientBox(modifier = Modifier.align(Alignment.TopStart), height = 20.dp)
|
||||
|
||||
BottomSheetBottomGradientBox(modifier = Modifier.align(Alignment.BottomStart))
|
||||
}
|
||||
|
||||
@@ -329,25 +329,17 @@ fun MPSScreen(
|
||||
bottomSheetStateHolder.showBottomSheet &&
|
||||
mpsViewModel.isDismissAllowed
|
||||
) {
|
||||
if (
|
||||
bottomSheetStateHolder.bottomSheetUIState
|
||||
is MPSScreenUtils.MPSScreenType.ArcNudgeInfo
|
||||
) {
|
||||
mpsViewModel.onArcNudgeBottomSheetCloseClicked()
|
||||
bottomSheetState.show()
|
||||
} else {
|
||||
val paymentCancelSource =
|
||||
when (bottomSheetStateHolder.bottomSheetUIState) {
|
||||
is MPSScreenUtils.MPSScreenType.Feedback ->
|
||||
PaymentCancelSource.FEEDBACK_OTHERS
|
||||
val paymentCancelSource =
|
||||
when (bottomSheetStateHolder.bottomSheetUIState) {
|
||||
is MPSScreenUtils.MPSScreenType.Feedback ->
|
||||
PaymentCancelSource.FEEDBACK_OTHERS
|
||||
|
||||
is MPSScreenUtils.MPSScreenType.Error ->
|
||||
PaymentCancelSource.ERROR_OTHERS
|
||||
is MPSScreenUtils.MPSScreenType.Error ->
|
||||
PaymentCancelSource.ERROR_OTHERS
|
||||
|
||||
else -> PaymentCancelSource.OTHERS
|
||||
}
|
||||
finishCallback(paymentCancelSource)
|
||||
}
|
||||
else -> PaymentCancelSource.OTHERS
|
||||
}
|
||||
finishCallback(paymentCancelSource)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -296,6 +296,8 @@ constructor(
|
||||
onInitialChecksFailure(errorConfig)
|
||||
return
|
||||
}
|
||||
naviUpiTransactionInfo.selectedBankAccount?.isArcProtected =
|
||||
naviUpiTransactionInfo.isArcProtected
|
||||
sendMoneyUseCase.executeSendMoney(
|
||||
payeeEntity = naviUpiTransactionInfo.payeeEntity,
|
||||
selectedBankAccount = naviUpiTransactionInfo.selectedBankAccount!!,
|
||||
|
||||
@@ -985,6 +985,7 @@ constructor(
|
||||
localArcTransactionCounterFormatted =
|
||||
arcNudgeBottomSheetData?.localArcTransactionCounterFormatted.orEmpty(),
|
||||
),
|
||||
bottomSheetStateChange = false,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user