From 1fc5ceff3be93e0b8774c363f367f34dbcf9d151 Mon Sep 17 00:00:00 2001 From: William Casarin Date: Wed, 13 Sep 2023 05:39:45 -0700 Subject: [PATCH] relays: fix withAnimation on older versions Maybe this is an iOS17 thing? --- damus/Views/Relays/RelayConfigView.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/damus/Views/Relays/RelayConfigView.swift b/damus/Views/Relays/RelayConfigView.swift index a00ac7de..7e5452b5 100644 --- 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() } }