Browse Source

Widgets gallery: fix for mismatched @Composable annotation (desktop) (#3409)

Folloup after https://github.com/JetBrains/compose-multiplatform/pull/3402
release/1.4.2 v1.4.3
Igor Demin 1 year ago committed by Igor Demin
parent
commit
61b06fcaee
  1. 5
      examples/widgets-gallery/shared/src/desktopMain/kotlin/org/jetbrains/compose/demo/widgets/platform/System.kt

5
examples/widgets-gallery/shared/src/desktopMain/kotlin/org/jetbrains/compose/demo/widgets/platform/System.kt

@ -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
Loading…
Cancel
Save