TP-38800 | qr scanner screen logo changes (#7618)
Co-authored-by: Shaurya Rehan <shaurya.rehan@navi.com>
This commit is contained in:
@@ -302,13 +302,13 @@ fun QrScannerScreen(
|
||||
.background(color = Color.Black.copy(alpha = 0.5f)),
|
||||
horizontalAlignment = Alignment.CenterHorizontally
|
||||
) {
|
||||
NaviPayQrScannerSponsorView()
|
||||
TorchButton(
|
||||
isTorchEnabled = isTorchEnabled,
|
||||
onTorchToggle = {
|
||||
naviPayAnalytics.onTorchButtonClick(isFlashOn = isTorchEnabled)
|
||||
qrScannerViewModel.toggleTorchStatus()
|
||||
})
|
||||
NaviPayQrScannerSponsorView()
|
||||
Spacer(modifier = Modifier.weight(1f))
|
||||
NaviPayQrScannerOtherAppView(modifier = Modifier.padding(bottom = 32.dp))
|
||||
}
|
||||
@@ -417,9 +417,9 @@ private fun TorchButton(isTorchEnabled: Boolean, onTorchToggle: () -> Unit) {
|
||||
|
||||
@Composable
|
||||
private fun NaviPayQrScannerSponsorView() {
|
||||
Row(
|
||||
verticalAlignment = Alignment.CenterVertically,
|
||||
horizontalArrangement = Arrangement.Center
|
||||
Column(
|
||||
horizontalAlignment = Alignment.CenterHorizontally,
|
||||
verticalArrangement = Arrangement.Center
|
||||
) {
|
||||
Text(
|
||||
text = stringResource(id = R.string.powered_by),
|
||||
@@ -429,7 +429,7 @@ private fun NaviPayQrScannerSponsorView() {
|
||||
color = NaviPayColor.textWhite
|
||||
)
|
||||
|
||||
Spacer(modifier = Modifier.width(8.dp))
|
||||
Spacer(modifier = Modifier.height(8.dp))
|
||||
|
||||
Image(
|
||||
painter = painterResource(id = R.drawable.ic_np_upi_scanpay),
|
||||
|
||||
Reference in New Issue
Block a user