lnlink

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

commit 4515b95d7cc856f939ae921f6d4d6a2e3d6b7c6c
parent 251a04872193c9a40e4043c6f7fc0d810f8d15cf
Author: William Casarin <jb55@jb55.com>
Date:   Tue, 29 Mar 2022 15:01:02 -0700

ReceiveView: we don't need a section

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

Diffstat:
Mlightninglink/Views/AmountInputView.swift | 20+++++++++-----------
1 file changed, 9 insertions(+), 11 deletions(-)

diff --git a/lightninglink/Views/AmountInputView.swift b/lightninglink/Views/AmountInputView.swift @@ -52,17 +52,15 @@ struct AmountInput: View { var body: some View { VStack { Form { - Section { - HStack(alignment: .lastTextBaseline) { - TextField("10,000", text: self.text) - .font(.title) - .keyboardType(.numberPad) - .multilineTextAlignment(.trailing) - .onReceive(Just(self.text)) { - amount_msat = onReceive($0.wrappedValue) - } - Text("sats") - } + HStack(alignment: .lastTextBaseline) { + TextField("10,000", text: self.text) + .font(.title) + .keyboardType(.numberPad) + .multilineTextAlignment(.trailing) + .onReceive(Just(self.text)) { + amount_msat = onReceive($0.wrappedValue) + } + Text("sats") } } .frame(height: 100)