mirror of
https://github.com/yattee/yattee.git
synced 2024-12-15 06:40:32 +05:30
94915b0496
This reverts commit dcef7f47ff
.
16 lines
371 B
Swift
16 lines
371 B
Swift
import Foundation
|
|
import SwiftUI
|
|
|
|
extension Backport where Content: View {
|
|
@ViewBuilder func listRowSeparator(_ visible: Bool) -> some View {
|
|
if #available(iOS 15, macOS 13, *) {
|
|
content
|
|
#if !os(tvOS)
|
|
.listRowSeparator(visible ? .visible : .hidden)
|
|
#endif
|
|
} else {
|
|
content
|
|
}
|
|
}
|
|
}
|