mirror of
https://github.com/yattee/yattee.git
synced 2024-12-12 21:30: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
|
|
}
|
|
}
|
|
}
|