relays: fix withAnimation on older versions
Maybe this is an iOS17 thing?
This commit is contained in:
@@ -157,13 +157,13 @@ struct RelayConfigView: View {
|
|||||||
if state.keypair.privkey != nil {
|
if state.keypair.privkey != nil {
|
||||||
if showActionButtons {
|
if showActionButtons {
|
||||||
Button("Done") {
|
Button("Done") {
|
||||||
withAnimation(.bouncy) {
|
withAnimation {
|
||||||
showActionButtons.toggle()
|
showActionButtons.toggle()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
Button("Edit") {
|
Button("Edit") {
|
||||||
withAnimation(.bouncy) {
|
withAnimation {
|
||||||
showActionButtons.toggle()
|
showActionButtons.toggle()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user