commit 1fc5ceff3be93e0b8774c363f367f34dbcf9d151
parent 16edc3fe1308dff4ae2677feff49f8078c21b5a5
Author: William Casarin <jb55@jb55.com>
Date: Wed, 13 Sep 2023 05:39:45 -0700
relays: fix withAnimation on older versions
Maybe this is an iOS17 thing?
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/damus/Views/Relays/RelayConfigView.swift b/damus/Views/Relays/RelayConfigView.swift
@@ -157,13 +157,13 @@ struct RelayConfigView: View {
if state.keypair.privkey != nil {
if showActionButtons {
Button("Done") {
- withAnimation(.bouncy) {
+ withAnimation {
showActionButtons.toggle()
}
}
} else {
Button("Edit") {
- withAnimation(.bouncy) {
+ withAnimation {
showActionButtons.toggle()
}
}