2024-06-19 15:15:27 +00:00
|
|
|
import SwiftUI
|
|
|
|
|
|
|
|
extension View {
|
|
|
|
func sharedListRow() -> some View {
|
|
|
|
modifier(SharedListRow())
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
struct SharedListRow: ViewModifier {
|
|
|
|
public func body(content: Content) -> some View {
|
|
|
|
content
|
|
|
|
.listRowInsets(.zero)
|
|
|
|
.listRowSeparator(.hidden)
|
|
|
|
.frame(maxWidth: .infinity, maxHeight: .infinity)
|
2024-07-04 08:21:12 +00:00
|
|
|
.background(Color.Material.Background.light)
|
2024-06-19 15:15:27 +00:00
|
|
|
}
|
|
|
|
}
|