Fix dark theme in widgets example (#1536)

This commit is contained in:
Igor Demin
2021-12-03 19:01:59 +03:00
committed by GitHub
parent b29bd17944
commit 74d536dfa8

View File

@@ -8,8 +8,8 @@ import androidx.compose.foundation.layout.*
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.lazy.items
import androidx.compose.foundation.lazy.rememberLazyListState
import androidx.compose.foundation.text.selection.DisableSelection
import androidx.compose.material.LocalContentColor
import androidx.compose.material.Surface
import androidx.compose.material.Text
import androidx.compose.runtime.*
import androidx.compose.runtime.saveable.rememberSaveable
@@ -32,8 +32,8 @@ import org.jetbrains.compose.demo.widgets.ui.utils.withoutWidthConstraints
@Composable
fun MainView() {
DisableSelection {
WidgetGalleryTheme {
WidgetGalleryTheme {
Surface {
WidgetsPanel()
}
}