From dfe46284bd089d0a21c15127cf4af796c7db73e9 Mon Sep 17 00:00:00 2001 From: Tlaster Date: Thu, 2 Nov 2023 17:35:24 +0900 Subject: [PATCH] fix build --- sample/todo/macos/src/macosMain/kotlin/Main.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sample/todo/macos/src/macosMain/kotlin/Main.kt b/sample/todo/macos/src/macosMain/kotlin/Main.kt index 5f7dd6ef..bb201f67 100644 --- a/sample/todo/macos/src/macosMain/kotlin/Main.kt +++ b/sample/todo/macos/src/macosMain/kotlin/Main.kt @@ -1,7 +1,9 @@ +import androidx.compose.runtime.ExperimentalComposeApi import moe.tlaster.common.App import moe.tlaster.precompose.PreComposeWindow import platform.AppKit.NSApp +@OptIn(ExperimentalComposeApi::class) fun main() { PreComposeWindow( "PreComposeSample",