mirror of
https://github.com/jlengrand/compose-multiplatform.git
synced 2026-03-10 15:48:51 +00:00
fix checkbox isMaximized in Windows_API_new tutorial (#893)
This commit is contained in:
@@ -299,7 +299,7 @@ fun main() = application {
|
||||
|
||||
Row(verticalAlignment = Alignment.CenterVertically) {
|
||||
Checkbox(
|
||||
state.placement == WindowPlacement.Fullscreen,
|
||||
state.placement == WindowPlacement.Maximized,
|
||||
{
|
||||
state.placement = if (it) {
|
||||
WindowPlacement.Maximized
|
||||
|
||||
Reference in New Issue
Block a user