diff --git a/BDKSwiftExampleWallet/View/WalletView.swift b/BDKSwiftExampleWallet/View/WalletView.swift index 9a33535f..8df0b1d6 100644 --- a/BDKSwiftExampleWallet/View/WalletView.swift +++ b/BDKSwiftExampleWallet/View/WalletView.swift @@ -76,26 +76,6 @@ struct WalletView: View { } } - HStack { - Button { - showReceiveView = true - } label: { - Image(systemName: "qrcode") - .font(.title) - .foregroundStyle(.primary) - } - - Spacer() - - NavigationLink(value: NavigationDestination.address) { - Image(systemName: "qrcode.viewfinder") - .font(.title) - .foregroundStyle(viewModel.canSend ? .primary : .secondary) - } - .disabled(!viewModel.canSend) - } - .padding([.horizontal, .bottom]) - } } @@ -210,8 +190,25 @@ struct WalletView: View { Button { showSettingsView = true } label: { - Image(systemName: "person.and.background.dotted") + Image(systemName: "ellipsis") + } + } + + ToolbarItemGroup(placement: .bottomBar) { + Button { + showReceiveView = true + } label: { + Image(systemName: "qrcode") + } + + Spacer() + + Button { + sendNavigationPath.append(NavigationDestination.address) + } label: { + Image(systemName: "qrcode.viewfinder") } + .disabled(!viewModel.canSend) } } }