diff --git a/src/main/kotlin/dev/silenium/multimedia/compose/util/FullscreenProvider.kt b/src/main/kotlin/dev/silenium/multimedia/compose/util/FullscreenProvider.kt index 20d6689..7939309 100644 --- a/src/main/kotlin/dev/silenium/multimedia/compose/util/FullscreenProvider.kt +++ b/src/main/kotlin/dev/silenium/multimedia/compose/util/FullscreenProvider.kt @@ -1,9 +1,6 @@ package dev.silenium.multimedia.compose.util -import androidx.compose.runtime.getValue -import androidx.compose.runtime.mutableStateOf -import androidx.compose.runtime.setValue -import androidx.compose.runtime.staticCompositionLocalOf +import androidx.compose.runtime.* import androidx.compose.ui.window.WindowPlacement import androidx.compose.ui.window.WindowState @@ -25,4 +22,5 @@ class DesktopFullscreenProvider : FullscreenProvider { } } -val LocalFullscreenProvider = staticCompositionLocalOf { DesktopFullscreenProvider() } +val LocalFullscreenProvider: ProvidableCompositionLocal = + staticCompositionLocalOf { DesktopFullscreenProvider() }