Skip to content

Commit e370f52

Browse files
committed
feat(feature:send-money): add text in upi pin screen
1 parent fb4ed20 commit e370f52

File tree

1 file changed

+12
-2
lines changed
  • feature/send-money/src/commonMain/kotlin/org/mifospay/feature/send/money

1 file changed

+12
-2
lines changed

feature/send-money/src/commonMain/kotlin/org/mifospay/feature/send/money/UpiPinScreen.kt

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,21 +337,31 @@ private fun UpiPinContent(
337337
imeAction = ImeAction.Done,
338338
),
339339
decorationBox = {
340-
Row(horizontalArrangement = Arrangement.Center) {
340+
Row(
341+
horizontalArrangement = Arrangement.SpaceEvenly,
342+
modifier = Modifier.fillMaxWidth()
343+
) {
341344
repeat(pinLength) { index ->
342345
UpiPinCharView(
343346
index = index,
344347
text = upiPin.value,
345348
showPin = showPin.value,
346349
)
347-
Spacer(modifier = Modifier.width(KptTheme.spacing.sm))
348350
}
349351
}
350352
},
351353
modifier = Modifier
352354
.fillMaxWidth()
353355
.focusRequester(focusRequester),
354356
)
357+
358+
Text(
359+
text = "UPI PIN will keep your account secure from unauthorized access. Do not share this PIN with anyone",
360+
style = KptTheme.typography.bodySmall,
361+
color = androidx.compose.ui.graphics.Color.Gray,
362+
textAlign = TextAlign.Center,
363+
modifier = Modifier.fillMaxWidth(),
364+
)
355365
}
356366
}
357367
}

0 commit comments

Comments
 (0)