Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Commit

Permalink
Add larger padding after progress indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
M3DZIK committed Feb 28, 2024
1 parent 6f5d711 commit 0523cf0
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -366,11 +366,11 @@ fun CipherViewScreen(

@Composable
fun OtpField(
value: String?,
value: String,
elapsed: Int,
period: Int
) {
if (value.isNullOrEmpty()) return
if (value.isEmpty()) return

val clipboardManager = LocalClipboardManager.current

Expand All @@ -380,7 +380,7 @@ fun OtpField(
) {
Box(
contentAlignment = Alignment.Center,
modifier = Modifier.padding(end = 6.dp)
modifier = Modifier.padding(end = 8.dp)
) {
val progress by animateFloatAsState(
targetValue = 1 - (elapsed.toFloat() / period.toFloat()),
Expand Down

0 comments on commit 0523cf0

Please sign in to comment.