Skip to content

Commit

Permalink
Use VerticalDivider in IntrinsicSnippets (#369)
Browse files Browse the repository at this point in the history
Co-authored-by: Rebecca Franks <[email protected]>
  • Loading branch information
DavidMendozaMartinez and riggaroo authored Dec 10, 2024
1 parent 82573fd commit 6dc5a0a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.width
import androidx.compose.foundation.layout.wrapContentWidth
import androidx.compose.material3.HorizontalDivider
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Surface
import androidx.compose.material3.Text
import androidx.compose.material3.VerticalDivider
import androidx.compose.runtime.Composable
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
Expand Down Expand Up @@ -71,7 +71,7 @@ private object IntrinsicsSnippet1 {
.wrapContentWidth(Alignment.Start),
text = text1
)
HorizontalDivider(
VerticalDivider(
color = Color.Black,
modifier = Modifier.fillMaxHeight().width(1.dp)
)
Expand Down Expand Up @@ -111,7 +111,7 @@ private object IntrinsicsSnippet2 {
.wrapContentWidth(Alignment.Start),
text = text1
)
HorizontalDivider(
VerticalDivider(
color = Color.Black,
modifier = Modifier.fillMaxHeight().width(1.dp)
)
Expand Down

0 comments on commit 6dc5a0a

Please sign in to comment.