I\'m trying to conditionally hide a DatePicker in SwiftUI. However, I\'m having any issue with mismatched types:
DatePicker
var datePicker = DatePicker($da
You also have the opacity modifier on any View:
opacity
View
ActivityIndicator(tint: .black) .opacity(self.isLoading ? 1.0 : 0.0)