Fix warning: Composable functions should only be emitting content into the composition from one source at their top level.
This commit is contained in:
parent
ea9c7f5b10
commit
bf5047647a
1 changed files with 2 additions and 1 deletions
|
|
@ -20,6 +20,7 @@ import androidx.compose.foundation.BorderStroke
|
|||
import androidx.compose.foundation.interaction.MutableInteractionSource
|
||||
import androidx.compose.foundation.layout.Arrangement
|
||||
import androidx.compose.foundation.layout.Column
|
||||
import androidx.compose.foundation.layout.ColumnScope
|
||||
import androidx.compose.foundation.layout.IntrinsicSize
|
||||
import androidx.compose.foundation.layout.PaddingValues
|
||||
import androidx.compose.foundation.layout.Row
|
||||
|
|
@ -379,7 +380,7 @@ private fun ButtonCombinationPreview(
|
|||
}
|
||||
|
||||
@Composable
|
||||
private fun ButtonMatrixPreview(
|
||||
private fun ColumnScope.ButtonMatrixPreview(
|
||||
style: ButtonStyle,
|
||||
size: ButtonSize,
|
||||
destructive: Boolean,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue