mirror of
https://github.com/jlengrand/compose-multiplatform.git
synced 2026-03-10 08:11:20 +00:00
Fix dark theme in widgets example (#1536)
This commit is contained in:
@@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user