Skip to content

Commit

Permalink
Updated samples
Browse files Browse the repository at this point in the history
  • Loading branch information
arkivanov committed Nov 17, 2023
1 parent a06adf8 commit c7e7363
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@ package com.arkivanov.sample.app

import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.width
import androidx.compose.material.AlertDialog
import androidx.compose.material.ExperimentalMaterialApi
import androidx.compose.material.Surface
import androidx.compose.material.Text
import androidx.compose.material.TextButton
import androidx.compose.runtime.Composable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ internal fun MultiPaneContent(component: MultiPaneComponent, modifier: Modifier
val listPane: @Composable (Child.Created<*, ArticleListComponent>) -> Unit =
remember {
movableContentOf { (config, component) ->
saveableStateHolder.SaveableStateProvider(key = config) {
saveableStateHolder.SaveableStateProvider(key = config.hashCode()) {
ArticleListContent(
component = component,
modifier = Modifier.fillMaxSize(),
Expand Down

0 comments on commit c7e7363

Please sign in to comment.