Skip to content

Commit

Permalink
Use VerticalDivider in IntrinsicSnippets
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidMendozaMartinez committed Oct 17, 2024
1 parent 2af26d9 commit a1fdfc4
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 a1fdfc4

Please sign in to comment.