From 28935cfe87324a7b667c30375bcaee6758324bdb Mon Sep 17 00:00:00 2001 From: Igor Demin Date: Wed, 11 Nov 2020 17:24:07 +0300 Subject: [PATCH] Todo example, refactoring --- .../desktop/src/jvmMain/kotlin/example/todo/desktop/Main.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/todoapp/desktop/src/jvmMain/kotlin/example/todo/desktop/Main.kt b/examples/todoapp/desktop/src/jvmMain/kotlin/example/todo/desktop/Main.kt index 04c6d0b0a3..5969f242d6 100644 --- a/examples/todoapp/desktop/src/jvmMain/kotlin/example/todo/desktop/Main.kt +++ b/examples/todoapp/desktop/src/jvmMain/kotlin/example/todo/desktop/Main.kt @@ -35,7 +35,7 @@ fun main() { Surface(modifier = Modifier.fillMaxSize()) { MaterialTheme { DesktopTheme { - todoRoot.invoke() + todoRoot() } } }