mirror of
https://github.com/neon443/NearFuture.git
synced 2026-03-11 06:49:12 +00:00
add settings on mac
add whats new on mac clean up settings on ios clean up whats new + liquid glass
This commit is contained in:
@@ -25,6 +25,17 @@ struct hapticHeavy: ViewModifier {
|
||||
}
|
||||
}
|
||||
|
||||
struct glassButton: ViewModifier {
|
||||
func body(content: Content) -> some View {
|
||||
if #available(iOS 19, macOS 16, *) {
|
||||
content.buttonStyle(.glass)
|
||||
} else {
|
||||
content.buttonStyle(.borderedProminent)
|
||||
.clipShape(RoundedRectangle(cornerRadius: 15))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
struct hapticSuccess: ViewModifier {
|
||||
var trigger: any Equatable
|
||||
|
||||
|
||||
Reference in New Issue
Block a user