From 5e71a953ef84b079170f1258cb43e77fc40e49f7 Mon Sep 17 00:00:00 2001 From: Igor Demin Date: Tue, 25 Jul 2023 21:39:53 +0200 Subject: [PATCH] Widgets gallery: fix for mismatched @Composable annotation (desktop) (#3409) Folloup after https://github.com/JetBrains/compose-multiplatform/pull/3402 --- .../org/jetbrains/compose/demo/widgets/platform/System.kt | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 examples/widgets-gallery/shared/src/desktopMain/kotlin/org/jetbrains/compose/demo/widgets/platform/System.kt diff --git a/examples/widgets-gallery/shared/src/desktopMain/kotlin/org/jetbrains/compose/demo/widgets/platform/System.kt b/examples/widgets-gallery/shared/src/desktopMain/kotlin/org/jetbrains/compose/demo/widgets/platform/System.kt deleted file mode 100644 index c479cb8cf0..0000000000 --- a/examples/widgets-gallery/shared/src/desktopMain/kotlin/org/jetbrains/compose/demo/widgets/platform/System.kt +++ /dev/null @@ -1,5 +0,0 @@ -package org.jetbrains.compose.demo.widgets.platform - -import org.jetbrains.skiko.SystemTheme - -actual fun isSystemInDarkTheme(): Boolean = org.jetbrains.skiko.currentSystemTheme == SystemTheme.DARK \ No newline at end of file