Skip to content

Commit

Permalink
relays: fix withAnimation on older versions
Browse files Browse the repository at this point in the history
Maybe this is an iOS17 thing?
  • Loading branch information
jb55 committed Sep 13, 2023
1 parent 16edc3f commit 1fc5cef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions damus/Views/Relays/RelayConfigView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
}
Expand Down

0 comments on commit 1fc5cef

Please sign in to comment.