commit ed9cab261a887274199f13ffcacc67567a926fcb
parent 846c8212f95e617d081671f5b8717f41958b7e47
Author: Marc Stibane <marc@taler.net>
Date: Tue, 24 Oct 2023 21:18:33 +0200
Fix for NavigationView popping back
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/TalerWallet1/Views/Main/MainView.swift b/TalerWallet1/Views/Main/MainView.swift
@@ -151,7 +151,7 @@ extension MainView {
navTitle: balancesTitle,
balances: $balances,
shouldReloadBalances: $shouldReloadBalances)
- }
+ }.navigationViewStyle(.stack)
.tabItem {
Image(systemName: "chart.bar.xaxis") // creditcard system will automatically use filled variant
if !iconOnly { Text(balancesTitle) }
@@ -163,7 +163,7 @@ extension MainView {
ExchangeListView(stack: stack.push(exchangesTitle),
// balances: $balances,
navTitle: exchangesTitle)
- }
+ }.navigationViewStyle(.stack)
.tabItem {
Image(systemName: "building.columns")
if !iconOnly { Text(exchangesTitle) }
@@ -172,7 +172,7 @@ extension MainView {
NavigationView {
SettingsView(stack: stack.push(), navTitle: settingsTitle)
- }
+ }.navigationViewStyle(.stack)
.tabItem {
Image(systemName: "gear") // system will automatically use filled variant
if !iconOnly { Text(settingsTitle) }