File tree Expand file tree Collapse file tree 1 file changed +24
-14
lines changed
BDKSwiftExampleWallet/View Expand file tree Collapse file tree 1 file changed +24
-14
lines changed Original file line number Diff line number Diff line change @@ -173,6 +173,30 @@ struct WalletView: View {
173
173
. padding ( )
174
174
}
175
175
Spacer ( )
176
+
177
+ HStack {
178
+ Button ( action: {
179
+ showReceiveView = true
180
+ } ) {
181
+ Image ( systemName: " qrcode " )
182
+ . font ( . title)
183
+ . foregroundColor ( . primary)
184
+ }
185
+
186
+ Spacer ( )
187
+
188
+ Button ( action: {
189
+ sendNavigationPath. append ( NavigationDestination . amount)
190
+ } ) {
191
+ Image ( systemName: " qrcode.viewfinder " )
192
+ . font ( . title)
193
+ . foregroundColor ( . primary)
194
+
195
+ }
196
+ }
197
+ . padding ( [ . horizontal, . bottom] )
198
+ . foregroundColor ( . bitcoinOrange)
199
+
176
200
}
177
201
178
202
}
@@ -222,13 +246,6 @@ struct WalletView: View {
222
246
}
223
247
}
224
248
. toolbar {
225
- ToolbarItem ( placement: . navigationBarLeading) {
226
- Button ( action: {
227
- showReceiveView = true
228
- } ) {
229
- Image ( systemName: " qrcode " )
230
- }
231
- }
232
249
ToolbarItem ( placement: . navigation) {
233
250
VStack {
234
251
Text ( " Navigation Title " )
@@ -242,13 +259,6 @@ struct WalletView: View {
242
259
Image ( systemName: " person.and.background.dotted " )
243
260
}
244
261
}
245
- ToolbarItem ( placement: . navigationBarTrailing) {
246
- Button ( action: {
247
- sendNavigationPath. append ( NavigationDestination . amount)
248
- } ) {
249
- Image ( systemName: " qrcode.viewfinder " )
250
- }
251
- }
252
262
}
253
263
254
264
}
You can’t perform that action at this time.
0 commit comments