taler-ios

iOS apps for GNU Taler (wallet)
Log | Files | Refs | README | LICENSE

commit dbf95e6403d29c87b66e33a654583444da6def72
parent c39cd3505fb96fd5412dd32e689948d0d24cb0dd
Author: Marc Stibane <marc@taler.net>
Date:   Mon, 18 Sep 2023 08:45:00 +0200

Font

Diffstat:
MTalerWallet1/Views/Sheets/Sheet.swift | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/TalerWallet1/Views/Sheets/Sheet.swift b/TalerWallet1/Views/Sheets/Sheet.swift @@ -10,6 +10,7 @@ struct Sheet: View { private let symLog = SymLogV() @Environment(\.dismiss) var dismiss // call dismiss() to get rid of the sheet @EnvironmentObject private var debugViewC: DebugViewC + @AppStorage("talerFont") var talerFont: Int = 0 var sheetView: AnyView @@ -30,7 +31,9 @@ struct Sheet: View { .navigationBarItems(leading: cancelButton) .navigationBarTitleDisplayMode(.automatic) .background(WalletColors().backgroundColor.edgesIgnoringSafeArea(.all)) - }.navigationViewStyle(.stack) + } + .navigationViewStyle(.stack) + .talerNavBar(talerFont: talerFont) .overlay(alignment: .top) { // Show the viewID on top of the sheet's NavigationView Text(idString)