[#13] Hide keyboard in landscape.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
closes #13
This commit is contained in:
@@ -49,7 +49,7 @@ fun Landscape(viewModel: ICounterViewModel) {
|
||||
Modifier.weight(1f)
|
||||
)
|
||||
}
|
||||
|
||||
if (!viewModel.keyboardHidden) {
|
||||
Column(Modifier.weight(1f)) {
|
||||
KeyboardView(
|
||||
viewModel.currentScoreA,
|
||||
@@ -68,6 +68,7 @@ fun Landscape(viewModel: ICounterViewModel) {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Composable
|
||||
fun Portrait(viewModel: ICounterViewModel) {
|
||||
|
||||
Reference in New Issue
Block a user