mirror of
https://github.com/neon443/NearFuture.git
synced 2026-11-30 12:24:48 +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:
9 files changed
+210
-44
No files matched your search
@@ -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
|
||||
|
||||
|
||||