Browse Source

Merge pull request #68 from CeH9/patch-1

Fix import (deprecated *.Text)
pull/71/head
Igor Demin 4 years ago committed by GitHub
parent
commit
0f51c74f49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      templates/desktop-template/src/main/kotlin/main.kt

4
templates/desktop-template/src/main/kotlin/main.kt

@ -1,5 +1,5 @@
import androidx.compose.desktop.Window import androidx.compose.desktop.Window
import androidx.compose.foundation.Text import androidx.compose.material.Text
import androidx.compose.material.Button import androidx.compose.material.Button
import androidx.compose.material.MaterialTheme import androidx.compose.material.MaterialTheme
import androidx.compose.runtime.getValue import androidx.compose.runtime.getValue
@ -17,4 +17,4 @@ fun main() = Window {
Text(text) Text(text)
} }
} }
} }

Loading…
Cancel
Save