mirror of
https://github.com/neon443/NearFuture.git
synced 2026-03-11 06:49:12 +00:00
add haptic feedback, bump version, update whats new
This commit is contained in:
@@ -12,6 +12,6 @@ TEAM_ID = 8JGND254B7
|
|||||||
BUNDLE_ID = com.neon443.NearFuture
|
BUNDLE_ID = com.neon443.NearFuture
|
||||||
BUNDLE_ID_WIDGETS = com.neon443.NearFuture.widgets
|
BUNDLE_ID_WIDGETS = com.neon443.NearFuture.widgets
|
||||||
GROUP_ID = group.NearFuture
|
GROUP_ID = group.NearFuture
|
||||||
VERSION = 4.3.8
|
VERSION = 4.4.0
|
||||||
NAME = Near Future
|
NAME = Near Future
|
||||||
BUILD_NUMBER = 1
|
BUILD_NUMBER = 1
|
||||||
|
|||||||
@@ -111,6 +111,11 @@ struct EventListView: View {
|
|||||||
.frame(maxWidth: 25, maxHeight: 25)
|
.frame(maxWidth: 25, maxHeight: 25)
|
||||||
.shadow(radius: 5)
|
.shadow(radius: 5)
|
||||||
.padding(.trailing, 5)
|
.padding(.trailing, 5)
|
||||||
|
.apply {
|
||||||
|
if #available(iOS 17, *) {
|
||||||
|
$0.sensoryFeedback(.success, trigger: event.complete)
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.transition(.opacity)
|
.transition(.opacity)
|
||||||
.padding(.vertical, 5)
|
.padding(.vertical, 5)
|
||||||
|
|||||||
@@ -16,8 +16,14 @@ struct WhatsNewView: View {
|
|||||||
var title: String
|
var title: String
|
||||||
var subtitle: String
|
var subtitle: String
|
||||||
}
|
}
|
||||||
|
@State var bye = false
|
||||||
var whatsNewChunks: [WhatsNewChunk] {
|
var whatsNewChunks: [WhatsNewChunk] {
|
||||||
return [
|
return [
|
||||||
|
WhatsNewChunk(
|
||||||
|
symbol: "iphone.radiowaves.left.and.right",
|
||||||
|
title: "Haptic Feedback",
|
||||||
|
subtitle: "Lovely haptic feedback when completing and adding events, and selecting tabs"
|
||||||
|
),
|
||||||
WhatsNewChunk(
|
WhatsNewChunk(
|
||||||
symbol: "app",
|
symbol: "app",
|
||||||
title: "App Icons",
|
title: "App Icons",
|
||||||
@@ -66,6 +72,7 @@ struct WhatsNewView: View {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
Button() {
|
Button() {
|
||||||
|
bye.toggle()
|
||||||
dismiss()
|
dismiss()
|
||||||
} label: {
|
} label: {
|
||||||
Text("Continue")
|
Text("Continue")
|
||||||
@@ -77,6 +84,11 @@ struct WhatsNewView: View {
|
|||||||
.buttonStyle(BorderedProminentButtonStyle())
|
.buttonStyle(BorderedProminentButtonStyle())
|
||||||
.clipShape(RoundedRectangle(cornerRadius: 15))
|
.clipShape(RoundedRectangle(cornerRadius: 15))
|
||||||
.padding().padding()
|
.padding().padding()
|
||||||
|
.apply {
|
||||||
|
if #available(iOS 17, *) {
|
||||||
|
$0.sensoryFeedback(.impact(weight: .heavy, intensity: 1), trigger: bye)
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.scrollContentBackground(.hidden)
|
.scrollContentBackground(.hidden)
|
||||||
.presentationDragIndicator(.visible)
|
.presentationDragIndicator(.visible)
|
||||||
|
|||||||
Reference in New Issue
Block a user