File tree Expand file tree Collapse file tree 1 file changed +23
-14
lines changed
BDKSwiftExampleWallet/View Expand file tree Collapse file tree 1 file changed +23
-14
lines changed Original file line number Diff line number Diff line change @@ -173,6 +173,29 @@ 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
+
176
199
}
177
200
178
201
}
@@ -222,13 +245,6 @@ struct WalletView: View {
222
245
}
223
246
}
224
247
.toolbar {
225
- ToolbarItem(placement: .navigationBarLeading) {
226
- Button(action: {
227
- showReceiveView = true
228
- }) {
229
- Image(systemName: "qrcode")
230
- }
231
- }
232
248
ToolbarItem(placement: .navigation) {
233
249
VStack {
234
250
Text("Navigation Title")
@@ -242,13 +258,6 @@ struct WalletView: View {
242
258
Image(systemName: "person.and.background.dotted")
243
259
}
244
260
}
245
- ToolbarItem(placement: .navigationBarTrailing) {
246
- Button(action: {
247
- sendNavigationPath.append(NavigationDestination.amount)
248
- }) {
249
- Image(systemName: "qrcode.viewfinder")
250
- }
251
- }
252
261
}
253
262
254
263
}
You can’t perform that action at this time.
0 commit comments