lnlink

iOS app for connecting to lightning nodes
git clone git://jb55.com/lnlink
Log | Files | Refs | Submodules | README

commit 0a5ef5c9d520d1f485adeff2f5263bb7545baf2c
parent 67480a5a27d454a8b76cc38379fa978805a10d35
Author: William Casarin <jb55@jb55.com>
Date:   Fri, 25 Feb 2022 11:52:58 -0800

simplify clipboard alert prompt

Signed-off-by: William Casarin <jb55@jb55.com>

Diffstat:
Mlightninglink/ContentView.swift | 7++-----
1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/lightninglink/ContentView.swift b/lightninglink/ContentView.swift @@ -136,11 +136,8 @@ struct ContentView: View { .padding() } } - .alert("Invoice found in clipboard", isPresented: $has_alert, presenting: active_alert, actions: { alert in - Button("Cancel") { - self.has_alert = false - } - Button("Use QR Instead") { + .alert("Use invoice in clipboard?", isPresented: $has_alert, presenting: active_alert, actions: { alert in + Button("Use QR") { self.active_sheet = .qr } Button("Yes") {