new_select_screen #9
@ -71,12 +71,14 @@ fun RoomScreen(
|
||||
.fillMaxWidth()
|
||||
) {
|
||||
Button(
|
||||
onClick = { viewModel.onIntent(RoomIntent.Booking(1488, "1488")) }
|
||||
onClick = { viewModel.onIntent(RoomIntent.Booking(roomId, currentState.data.keys.toList()[0])) },
|
||||
shape = RoundedCornerShape(64, 0, 0, 64)
|
||||
) {
|
||||
Text("Book")
|
||||
}
|
||||
Button(
|
||||
onClick = { viewModel.onIntent(RoomIntent.UnBook(1488, "1488")) }
|
||||
onClick = { viewModel.onIntent(RoomIntent.UnBook(roomId, currentState.data.keys.toList()[0])) },
|
||||
shape = RoundedCornerShape(0, 64, 64, 0)
|
||||
) {
|
||||
Text("Cancel")
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user