commit 44038ffb7a81672fabc08620680e3eafc3edc6eb
parent c4884eed229e6ea7c613dd00c680e68cd61aa38a
Author: William Casarin <jb55@jb55.com>
Date: Sat, 5 Mar 2022 09:56:57 -0800
ocd: reorder view callbacks
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lightninglink/Views/PayView.swift b/lightninglink/Views/PayView.swift
@@ -135,10 +135,10 @@ struct PayView: View {
confirm_button(ready_invoice)
}
}
+ .padding()
.onAppear() {
handle_state_change()
}
- .padding()
.onReceive(self.expiry_timer) { _ in
update_expiry_percent()
}