mirror of
https://github.com/neon443/NearFuture.git
synced 2026-03-11 22:56:15 +00:00
add viewmodifiers.siwft to conditionally do viewmodifiers
replaced all the .apply s everywhere colorcodable into its own file add icon changing for mac
This commit is contained in:
@@ -143,11 +143,7 @@ struct AddEventView: View {
|
||||
.buttonStyle(BorderedProminentButtonStyle())
|
||||
}
|
||||
.tint(.accent)
|
||||
.apply {
|
||||
if #available(iOS 17, *) {
|
||||
$0.sensoryFeedback(.success, trigger: bye)
|
||||
}
|
||||
}
|
||||
.modifier(hapticSuccess(trigger: bye))
|
||||
.disabled(event.name.isEmpty)
|
||||
.onTapGesture {
|
||||
if event.name.isEmpty {
|
||||
|
||||
Reference in New Issue
Block a user