[#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)
|
Modifier.weight(1f)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
if (!viewModel.keyboardHidden) {
|
||||||
Column(Modifier.weight(1f)) {
|
Column(Modifier.weight(1f)) {
|
||||||
KeyboardView(
|
KeyboardView(
|
||||||
viewModel.currentScoreA,
|
viewModel.currentScoreA,
|
||||||
@@ -68,6 +68,7 @@ fun Landscape(viewModel: ICounterViewModel) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
fun Portrait(viewModel: ICounterViewModel) {
|
fun Portrait(viewModel: ICounterViewModel) {
|
||||||
|
|||||||
Reference in New Issue
Block a user