From 99710a42b87a0ee4ca0a8ec869b558eeeb0ff6e4 Mon Sep 17 00:00:00 2001 From: CeH9 Date: Fri, 6 Nov 2020 11:22:21 +0200 Subject: [PATCH] Fix import (deprecated *.Text) Fix import according to deprecation warning --- templates/desktop-template/src/main/kotlin/main.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/desktop-template/src/main/kotlin/main.kt b/templates/desktop-template/src/main/kotlin/main.kt index 4642415a50..85d8b04296 100644 --- a/templates/desktop-template/src/main/kotlin/main.kt +++ b/templates/desktop-template/src/main/kotlin/main.kt @@ -1,5 +1,5 @@ import androidx.compose.desktop.Window -import androidx.compose.foundation.Text +import androidx.compose.material.Text import androidx.compose.material.Button import androidx.compose.material.MaterialTheme import androidx.compose.runtime.getValue @@ -17,4 +17,4 @@ fun main() = Window { Text(text) } } -} \ No newline at end of file +}