Fix Download Directory Chooser crashing in Desktop

This commit is contained in:
shabinder 2021-09-26 14:05:20 +05:30
parent 7ff8b918ff
commit 545daf5d5b

View File

@ -75,6 +75,7 @@ fun main() {
state = windowState, state = windowState,
icon = BitmapPainter(useResource("drawable/spotiflyer.png", ::loadImageBitmap)) icon = BitmapPainter(useResource("drawable/spotiflyer.png", ::loadImageBitmap))
) { ) {
appWindow = window
LifecycleController(lifecycle, windowState) LifecycleController(lifecycle, windowState)
Surface( Surface(
modifier = Modifier.fillMaxSize(), modifier = Modifier.fillMaxSize(),