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 Nov 22, 2024
1 parent f4e4987 commit dd2a5e3
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 dd2a5e3

Please sign in to comment.