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 {
7676 }
7777 }
7878
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-
9979 }
10080
10181 }
@@ -210,8 +190,25 @@ struct WalletView: View {
210190 Button {
211191 showSettingsView = true
212192 } 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 " )
214210 }
211+ . disabled ( !viewModel. canSend)
215212 }
216213 }
217214 }
You can’t perform that action at this time.
0 commit comments