diff --git a/Config.xcconfig b/Config.xcconfig index 6c5ce8b..7118d9a 100644 --- a/Config.xcconfig +++ b/Config.xcconfig @@ -12,6 +12,6 @@ TEAM_ID = 8JGND254B7 BUNDLE_ID = com.neon443.NearFuture BUNDLE_ID_WIDGETS = com.neon443.NearFuture.widgets GROUP_ID = group.NearFuture -VERSION = 4.3.8 +VERSION = 4.4.0 NAME = Near Future BUILD_NUMBER = 1 diff --git a/NearFuture/Views/Home/EventListView.swift b/NearFuture/Views/Home/EventListView.swift index 8f796ee..32c393c 100644 --- a/NearFuture/Views/Home/EventListView.swift +++ b/NearFuture/Views/Home/EventListView.swift @@ -111,6 +111,11 @@ struct EventListView: View { .frame(maxWidth: 25, maxHeight: 25) .shadow(radius: 5) .padding(.trailing, 5) + .apply { + if #available(iOS 17, *) { + $0.sensoryFeedback(.success, trigger: event.complete) + } + } } .transition(.opacity) .padding(.vertical, 5) diff --git a/NearFuture/Views/Settings/WhatsNewView.swift b/NearFuture/Views/Settings/WhatsNewView.swift index 99a9f3b..efa8350 100644 --- a/NearFuture/Views/Settings/WhatsNewView.swift +++ b/NearFuture/Views/Settings/WhatsNewView.swift @@ -16,8 +16,14 @@ struct WhatsNewView: View { var title: String var subtitle: String } + @State var bye = false var whatsNewChunks: [WhatsNewChunk] { return [ + WhatsNewChunk( + symbol: "iphone.radiowaves.left.and.right", + title: "Haptic Feedback", + subtitle: "Lovely haptic feedback when completing and adding events, and selecting tabs" + ), WhatsNewChunk( symbol: "app", title: "App Icons", @@ -66,6 +72,7 @@ struct WhatsNewView: View { } } Button() { + bye.toggle() dismiss() } label: { Text("Continue") @@ -77,6 +84,11 @@ struct WhatsNewView: View { .buttonStyle(BorderedProminentButtonStyle()) .clipShape(RoundedRectangle(cornerRadius: 15)) .padding().padding() + .apply { + if #available(iOS 17, *) { + $0.sensoryFeedback(.impact(weight: .heavy, intensity: 1), trigger: bye) + } + } } .scrollContentBackground(.hidden) .presentationDragIndicator(.visible)