Minor layout fixes

This commit is contained in:
Arkadiusz Fal
2022-11-18 22:27:13 +01:00
parent 414b6210c0
commit a629bec1ff
8 changed files with 33 additions and 4 deletions

View File

@@ -0,0 +1,12 @@
import Foundation
import SwiftUI
extension Backport where Content: View {
@ViewBuilder func listRowSeparator(_ visible: Bool) -> some View {
if #available(iOS 15, macOS 12, tvOS 15, *) {
content.listRowSeparator(visible ? .visible : .hidden)
} else {
content
}
}
}