Skip to content

Commit

Permalink
Use a Divider for row dividers
Browse files Browse the repository at this point in the history
  • Loading branch information
aabewhite committed Aug 13, 2024
1 parent a8b473a commit d5a66eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/SkipUI/SkipUI/Containers/List.swift
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ public final class List : View {
}

@Composable static func ComposeSeparator() {
Box(modifier: Modifier.padding(start: Self.horizontalItemInset.dp).fillMaxWidth().height(1.dp).background(Color.separator.colorImpl()))
androidx.compose.material3.Divider(modifier: Modifier.padding(start: horizontalItemInset.dp).fillMaxWidth(), color: Color.separator.colorImpl())
}

@Composable private func ComposeItem(view: View, context: ComposeContext, modifier: Modifier = Modifier, styling: ListStyling, isItem: Bool = true) {
Expand Down

0 comments on commit d5a66eb

Please sign in to comment.