Skip to content

Commit 1382391

Browse files
committed
Fix extra Spacer after the last cell
1 parent 159b2b7 commit 1382391

File tree

1 file changed

+2
-1
lines changed
  • speld/src/main/java/com/yogeshpaliyal/speld

1 file changed

+2
-1
lines changed

speld/src/main/java/com/yogeshpaliyal/speld/OtpView.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ fun PinInput(
112112
isCursorVisible = value.length == it,
113113
obscureText
114114
)
115-
Spacer(modifier = Modifier.size(8.dp))
115+
if (it != length - 1)
116+
Spacer(modifier = Modifier.size(8.dp))
116117
}
117118
}
118119
}

0 commit comments

Comments
 (0)