mirror of
git://jb55.com/damus
synced 2024-09-18 19:23:49 +00:00
relays: fix withAnimation on older versions
Maybe this is an iOS17 thing?
This commit is contained in:
parent
16edc3fe13
commit
1fc5ceff3b
@ -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()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user