We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4eed0a3 commit e70e9fcCopy full SHA for e70e9fc
1 file changed
app/src/main/java/to/bitkit/ui/components/SwipeToConfirm.kt
@@ -63,6 +63,7 @@ private val Padding = 8.dp
63
64
@Composable
65
fun SwipeToConfirm(
66
+ onConfirm: () -> Unit,
67
modifier: Modifier = Modifier,
68
text: String = stringResource(R.string.other__swipe),
69
color: Color = Colors.Brand,
@@ -72,7 +73,6 @@ fun SwipeToConfirm(
72
73
loading: Boolean = false,
74
confirmed: Boolean = false,
75
progress: MutableFloatState? = null,
- onConfirm: () -> Unit,
76
) {
77
val scope = rememberCoroutineScope()
78
val trailColor = remember(color) { color.copy(alpha = 0.24f) }
0 commit comments