From d5a66ebaf73ef8bb5eb389eba76c0491471125f7 Mon Sep 17 00:00:00 2001 From: Abe White Date: Tue, 13 Aug 2024 16:56:36 -0500 Subject: [PATCH] Use a Divider for row dividers --- Sources/SkipUI/SkipUI/Containers/List.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/SkipUI/SkipUI/Containers/List.swift b/Sources/SkipUI/SkipUI/Containers/List.swift index c9087ea8..bc9073d1 100644 --- a/Sources/SkipUI/SkipUI/Containers/List.swift +++ b/Sources/SkipUI/SkipUI/Containers/List.swift @@ -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) {