taler-ios

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

commit d370e2c4ec12832e7033a55948f5359eb30c7621
parent 12276ac45861f96663143b3adfba6023a03c601d
Author: Marc Stibane <marc@taler.net>
Date:   Sat, 12 Oct 2024 16:30:48 +0200

RotatingTaler for demo money

Diffstat:
MTalerWallet1/Views/Main/WalletEmptyView.swift | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/TalerWallet1/Views/Main/WalletEmptyView.swift b/TalerWallet1/Views/Main/WalletEmptyView.swift @@ -59,10 +59,16 @@ struct WalletEmptyView: View { .listStyle(myListStyle.style).anyView .talerFont(.title2) .background(WalletColors().backgroundColor.edgesIgnoringSafeArea(.all)) + .overlay(loadingOverlay) .onAppear() { DebugViewC.shared.setViewID(VIEW_EMPTY_WALLET, stack: stack.push("onAppear")) // 10 } } + @ViewBuilder private var loadingOverlay: some View { + if withDrawDisabled { + RotatingTaler(size: 150, progress: true, rotationEnabled: $withDrawDisabled) + } + } } struct WalletEmptyView_Previews: PreviewProvider {