Skip to content

Commit

Permalink
fix: FinalizeAccountCreationScreen.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
Mystic-Nayy committed Nov 2, 2024
1 parent 573b508 commit 60e4ebd
Showing 1 changed file with 14 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ fun AccountInfoView(onContinue: () -> Unit) {
}

Spacer(modifier = Modifier.weight(1f))
Button(
onClick = {
// Save the account information to DataStore when the button is clicked
scope.launch {
Expand All @@ -279,25 +280,23 @@ fun AccountInfoView(onContinue: () -> Unit) {
}
// Navigate to the next screen
onContinue()
},
},
contentPadding = ButtonDefaults.ContentPadding,
shape = RoundedCornerShape(8.dp),
colors = ButtonDefaults.buttonColors(backgroundColor = Color("#EC796B".toColorInt()), contentColor = Color.White),
modifier = Modifier
.fillMaxWidth()
.height(49.dp
) {
Row(verticalAlignment = Alignment.CenterVertically) {
Text("Continue")
Icon(
imageVector = Icons.Filled.ArrowForward,
contentDescription = "Forward Arrow",
modifier = Modifier.padding(start = 8.dp),
tint = Color.White
)
}
}

Spacer(modifier = Modifier.height(20.dp))
.height(49.dp)
) {
Row(verticalAlignment = Alignment.CenterVertically) {
Text("Continue")
Icon(
imageVector = Icons.Filled.ArrowForward,
contentDescription = "Forward Arrow",
modifier = Modifier.padding(start = 8.dp),
tint = Color.White
)
}
}

Spacer(modifier = Modifier.height(20.dp))

0 comments on commit 60e4ebd

Please sign in to comment.