damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit 16edc3fe1308dff4ae2677feff49f8078c21b5a5
parent 6a88ca27772d967bcb5ec5589f363bfa9e6b3450
Author: William Casarin <jb55@jb55.com>
Date:   Mon, 11 Sep 2023 14:26:40 -0700

relays: bouncy edit animation

Diffstat:
Mdamus/Views/Relays/RelayConfigView.swift | 8++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/damus/Views/Relays/RelayConfigView.swift b/damus/Views/Relays/RelayConfigView.swift @@ -157,11 +157,15 @@ struct RelayConfigView: View { if state.keypair.privkey != nil { if showActionButtons { Button("Done") { - showActionButtons.toggle() + withAnimation(.bouncy) { + showActionButtons.toggle() + } } } else { Button("Edit") { - showActionButtons.toggle() + withAnimation(.bouncy) { + showActionButtons.toggle() + } } } }