new_select_screen #9

Open
student-i-nikolaevskiy wants to merge 42 commits from Minipigi-org/NTO-2026-Android-TeamTask-Template:new_select_screen into main
Showing only changes of commit 685ec12f06 - Show all commits

View File

@ -71,12 +71,14 @@ fun RoomScreen(
.fillMaxWidth() .fillMaxWidth()
) { ) {
Button( 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") Text("Book")
} }
Button( 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") Text("Cancel")
} }