[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-ios] 01/36: Startup Chime
From: |
gnunet |
Subject: |
[taler-taler-ios] 01/36: Startup Chime |
Date: |
Mon, 13 Nov 2023 21:27:06 +0100 |
This is an automated email from the git hooks/post-receive script.
marc-stibane pushed a commit to branch master
in repository taler-ios.
commit 27dd64c82affb8fa11831eaadbaa1fa1a9713968
Author: Marc Stibane <marc@taler.net>
AuthorDate: Thu Nov 9 14:08:31 2023 +0100
Startup Chime
---
TalerWallet1/Views/Main/MainView.swift | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/TalerWallet1/Views/Main/MainView.swift
b/TalerWallet1/Views/Main/MainView.swift
index 128f214..179173f 100644
--- a/TalerWallet1/Views/Main/MainView.swift
+++ b/TalerWallet1/Views/Main/MainView.swift
@@ -24,6 +24,7 @@ struct MainView: View {
@State private var urlToOpen: URL? = nil
@Binding var soundPlayed: Bool
@AppStorage("talerFont") var talerFont: Int = 0 // extension
mustn't define this, so it must be here
+ @AppStorage("playSounds") var playSounds: Int = 1 // extension
mustn't define this, so it must be here
func sheetDismissed() -> Void {
symLog.log("sheet dismiss")
@@ -39,7 +40,9 @@ struct MainView: View {
// any change to rootViewId triggers popToRootView behaviour
.id(viewState.rootViewId)
.onAppear() {
- controller.playSound(1008) // Startup chime
+ if playSounds != 0 {
+ controller.playSound(1008) // Startup chime
+ }
soundPlayed = true
}
} else if controller.backendState == .error {
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-taler-ios] 19/36: amountToTransfer Pending, (continued)
- [taler-taler-ios] 19/36: amountToTransfer Pending, gnunet, 2023/11/13
- [taler-taler-ios] 23/36: amountToTransfer Exchange, gnunet, 2023/11/13
- [taler-taler-ios] 14/36: Debugging: Delay currency info, gnunet, 2023/11/13
- [taler-taler-ios] 27/36: Debugging, gnunet, 2023/11/13
- [taler-taler-ios] 30/36: Bugfix, gnunet, 2023/11/13
- [taler-taler-ios] 12/36: DD51 Currency rendering, gnunet, 2023/11/13
- [taler-taler-ios] 24/36: Exchange needs Balance for Deposit, gnunet, 2023/11/13
- [taler-taler-ios] 21/36: amountToTransfer Send, gnunet, 2023/11/13
- [taler-taler-ios] 07/36: Amount(currency:cent:), gnunet, 2023/11/13
- [taler-taler-ios] 06/36: RequestPurpose, gnunet, 2023/11/13
- [taler-taler-ios] 01/36: Startup Chime,
gnunet <=
- [taler-taler-ios] 18/36: amountToTransfer Transactions, gnunet, 2023/11/13
- [taler-taler-ios] 17/36: amountToTransfer Balances, gnunet, 2023/11/13
- [taler-taler-ios] 09/36: cleanup, zero, gnunet, 2023/11/13
- [taler-taler-ios] 29/36: less logging, gnunet, 2023/11/13
- [taler-taler-ios] 13/36: once at very first startup, gnunet, 2023/11/13
- [taler-taler-ios] 15/36: About with explicit link to taler.net, gnunet, 2023/11/13
- [taler-taler-ios] 28/36: Cleanup property wrappers, gnunet, 2023/11/13
- [taler-taler-ios] 22/36: amountToTransfer ManualWithdraw, gnunet, 2023/11/13
- [taler-taler-ios] 33/36: Announce shouldn't change screen, gnunet, 2023/11/13
- [taler-taler-ios] 34/36: Previews, gnunet, 2023/11/13