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

relays: fix withAnimation on older versions

Maybe this is an iOS17 thing?
This commit is contained in:
William Casarin 2023-09-13 05:39:45 -07:00
parent 16edc3fe13
commit 1fc5ceff3b

View File

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