Browse Source

Fix dark theme in widgets example (#1536)

pull/1549/head
Igor Demin 3 years ago committed by GitHub
parent
commit
74d536dfa8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      examples/widgets-gallery/common/src/commonMain/kotlin/org/jetbrains/compose/demo/widgets/ui/MainView.kt

4
examples/widgets-gallery/common/src/commonMain/kotlin/org/jetbrains/compose/demo/widgets/ui/MainView.kt

@ -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 {
Surface {
WidgetsPanel()
}
}

Loading…
Cancel
Save