mirror of
https://github.com/neon443/NearFuture.git
synced 2026-03-11 06:49:12 +00:00
liquid glass update 1
This commit is contained in:
@@ -151,7 +151,7 @@ struct AddEventView: View {
|
|||||||
resetAddEventView()
|
resetAddEventView()
|
||||||
dismiss()
|
dismiss()
|
||||||
} label: {
|
} label: {
|
||||||
Image(systemName: "xmark.circle.fill")
|
Image(systemName: "xmark")
|
||||||
.symbolRenderingMode(.hierarchical)
|
.symbolRenderingMode(.hierarchical)
|
||||||
.resizable()
|
.resizable()
|
||||||
.scaledToFit()
|
.scaledToFit()
|
||||||
@@ -182,6 +182,7 @@ struct AddEventView: View {
|
|||||||
.cornerRadius(10)
|
.cornerRadius(10)
|
||||||
.buttonStyle(BorderedProminentButtonStyle())
|
.buttonStyle(BorderedProminentButtonStyle())
|
||||||
}
|
}
|
||||||
|
.tint(.accent)
|
||||||
.apply {
|
.apply {
|
||||||
if #available(iOS 17, *) {
|
if #available(iOS 17, *) {
|
||||||
$0.sensoryFeedback(.success, trigger: bye)
|
$0.sensoryFeedback(.success, trigger: bye)
|
||||||
|
|||||||
@@ -34,10 +34,6 @@ struct AddEventButton: View {
|
|||||||
Button() {
|
Button() {
|
||||||
showingAddEventView.toggle()
|
showingAddEventView.toggle()
|
||||||
} label: {
|
} label: {
|
||||||
ZStack {
|
|
||||||
Circle()
|
|
||||||
.frame(width: 33)
|
|
||||||
.foregroundStyle(.one)
|
|
||||||
Image(systemName: "plus")
|
Image(systemName: "plus")
|
||||||
.resizable()
|
.resizable()
|
||||||
.scaledToFit()
|
.scaledToFit()
|
||||||
@@ -47,7 +43,6 @@ struct AddEventButton: View {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
#Preview {
|
#Preview {
|
||||||
MagicClearButton(text: .constant("s"))
|
MagicClearButton(text: .constant("s"))
|
||||||
|
|||||||
Reference in New Issue
Block a user