taler-ios

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

commit 9da5f4bac94c84da613ebce37008600cd3fe8f7e
parent d02a14e2289465d8fd5c14cff89c272005ef4a96
Author: Marc Stibane <marc@taler.net>
Date:   Sun, 12 Nov 2023 13:20:32 +0100

once at very first startup

Diffstat:
MTalerWallet1/Views/Main/MainView.swift | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/TalerWallet1/Views/Main/MainView.swift b/TalerWallet1/Views/Main/MainView.swift @@ -40,7 +40,7 @@ struct MainView: View { // any change to rootViewId triggers popToRootView behaviour .id(viewState.rootViewId) .onAppear() { - if playSounds != 0 { + if playSounds != 0 && !soundPlayed { controller.playSound(1008) // Startup chime } soundPlayed = true