File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed
BDKSwiftExampleWallet/View Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ struct AddressView: View {
27
27
VStack {
28
28
29
29
HStack {
30
-
30
+
31
31
Spacer ( )
32
32
33
33
Button {
Original file line number Diff line number Diff line change @@ -26,10 +26,6 @@ struct TabHomeView: View {
26
26
. tabItem {
27
27
Image ( systemName: " bitcoinsign " )
28
28
}
29
- ReceiveView ( viewModel: . init( ) )
30
- . tabItem {
31
- Image ( systemName: " arrow.down " )
32
- }
33
29
34
30
NavigationStack ( path: $sendNavigationPath) {
35
31
AmountView ( viewModel: . init( ) , navigationPath: $sendNavigationPath)
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ struct WalletView: View {
15
15
@State private var isFirstAppear = true
16
16
@State private var newTransactionSent = false
17
17
@State private var showAllTransactions = false
18
+ @State private var showReceiveView = false
18
19
19
20
var body : some View {
20
21
@@ -196,6 +197,13 @@ struct WalletView: View {
196
197
ActivityListView ( viewModel: . init( ) )
197
198
}
198
199
. toolbar {
200
+ ToolbarItem ( placement: . navigationBarLeading) {
201
+ Button ( action: {
202
+ showReceiveView = true
203
+ } ) {
204
+ Image ( systemName: " qrcode " )
205
+ }
206
+ }
199
207
ToolbarItem ( placement: . navigation) {
200
208
VStack {
201
209
Text ( " Navigation Title " )
You can’t perform that action at this time.
0 commit comments