How to conditionally apply modifier in SwiftUI
Issue #633
Use autoclosure
and AnyView
1 | 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *) (iOS |
1 | Button(action: onSearch) { |
Issue #633
Use autoclosure
and AnyView
1 | 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *) (iOS |
1 | Button(action: onSearch) { |