File tree Expand file tree Collapse file tree 1 file changed +18
-21
lines changed
BDKSwiftExampleWallet/View Expand file tree Collapse file tree 1 file changed +18
-21
lines changed Original file line number Diff line number Diff line change @@ -76,26 +76,6 @@ struct WalletView: View {
76
76
}
77
77
}
78
78
79
- HStack {
80
- Button {
81
- showReceiveView = true
82
- } label: {
83
- Image ( systemName: " qrcode " )
84
- . font ( . title)
85
- . foregroundStyle ( . primary)
86
- }
87
-
88
- Spacer ( )
89
-
90
- NavigationLink ( value: NavigationDestination . address) {
91
- Image ( systemName: " qrcode.viewfinder " )
92
- . font ( . title)
93
- . foregroundStyle ( viewModel. canSend ? . primary : . secondary)
94
- }
95
- . disabled ( !viewModel. canSend)
96
- }
97
- . padding ( [ . horizontal, . bottom] )
98
-
99
79
}
100
80
101
81
}
@@ -210,8 +190,25 @@ struct WalletView: View {
210
190
Button {
211
191
showSettingsView = true
212
192
} label: {
213
- Image ( systemName: " person.and.background.dotted " )
193
+ Image ( systemName: " ellipsis " )
194
+ }
195
+ }
196
+
197
+ ToolbarItemGroup ( placement: . bottomBar) {
198
+ Button {
199
+ showReceiveView = true
200
+ } label: {
201
+ Image ( systemName: " qrcode " )
202
+ }
203
+
204
+ Spacer ( )
205
+
206
+ Button {
207
+ sendNavigationPath. append ( NavigationDestination . address)
208
+ } label: {
209
+ Image ( systemName: " qrcode.viewfinder " )
214
210
}
211
+ . disabled ( !viewModel. canSend)
215
212
}
216
213
}
217
214
}
You can’t perform that action at this time.
0 commit comments