mirror of
https://github.com/neon443/NearFuture.git
synced 2026-11-30 12:24:48 +00:00
change team id
This commit is contained in:
3 files changed
+12
-12
No files matched your search
@@ -44,13 +44,13 @@ struct hapticSuccess<T: Equatable>: ViewModifier {
|
||||
|
||||
struct glassButton: ViewModifier {
|
||||
func body(content: Content) -> some View {
|
||||
#if swift(>=6.2)
|
||||
content.buttonStyle(.glass)
|
||||
#else
|
||||
content.buttonStyle(.borderedProminent)
|
||||
.clipShape(RoundedRectangle(cornerRadius: 15))
|
||||
.tint(.two)
|
||||
#endif
|
||||
if #available(iOS 19, *) {
|
||||
content.buttonStyle(.glass)
|
||||
} else {
|
||||
content.buttonStyle(.borderedProminent)
|
||||
.clipShape(RoundedRectangle(cornerRadius: 15))
|
||||
.tint(.two)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||