mirror of
git://jb55.com/damus
synced 2024-09-18 19:23:49 +00:00
relays: bouncy edit animation
This commit is contained in:
parent
6a88ca2777
commit
16edc3fe13
@ -157,11 +157,15 @@ struct RelayConfigView: View {
|
|||||||
if state.keypair.privkey != nil {
|
if state.keypair.privkey != nil {
|
||||||
if showActionButtons {
|
if showActionButtons {
|
||||||
Button("Done") {
|
Button("Done") {
|
||||||
showActionButtons.toggle()
|
withAnimation(.bouncy) {
|
||||||
|
showActionButtons.toggle()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
Button("Edit") {
|
Button("Edit") {
|
||||||
showActionButtons.toggle()
|
withAnimation(.bouncy) {
|
||||||
|
showActionButtons.toggle()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user