Skip to content

Commit 2857266

Browse files
committed
Frontend.XF: fix recently introduced crash
Somehow mainLayout was still queried at the click-handler when it had already been at the SendPage class level. This should have been done in [1] ([2]). [1] 2d3b90c [2] 262348b
1 parent 22bb448 commit 2857266

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/GWallet.Frontend.XF/SendPage.xaml.fs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -754,7 +754,6 @@ type SendPage(account: IAccount, receivePage: Page, newReceivePageFunc: unit->Pa
754754
} |> FrontendHelpers.DoubleCheckCompletionAsync false
755755

756756
member self.OnSendOrSignButtonClicked(_sender: Object, _args: EventArgs): unit =
757-
let mainLayout = base.FindByName<StackLayout>("mainLayout")
758757
let amountToSend = mainLayout.FindByName<Entry>("amountToSend")
759758
let destinationAddress = destinationAddressEntry.Text
760759

0 commit comments

Comments
 (0)