1
0
mirror of git://jb55.com/damus synced 2024-09-16 02:03:45 +00:00

relays: bouncy edit animation

This commit is contained in:
William Casarin 2023-09-11 14:26:40 -07:00
parent 6a88ca2777
commit 16edc3fe13

View File

@ -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()
}
}
}
}