[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-ios] 27/28: simplify log
From: |
gnunet |
Subject: |
[taler-taler-ios] 27/28: simplify log |
Date: |
Tue, 19 Sep 2023 03:44:46 +0200 |
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 e46e4342d4e20a4e0ea1e79acb095ced04885639
Author: Marc Stibane <marc@taler.net>
AuthorDate: Tue Sep 19 01:59:29 2023 +0200
simplify log
---
TalerWallet1/Backend/WalletCore.swift | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/TalerWallet1/Backend/WalletCore.swift
b/TalerWallet1/Backend/WalletCore.swift
index 74eec52..a3b8dbb 100644
--- a/TalerWallet1/Backend/WalletCore.swift
+++ b/TalerWallet1/Backend/WalletCore.swift
@@ -152,7 +152,6 @@ extension WalletCore {
object anObject: Any? = nil,
userInfo: [AnyHashable: Any]? = nil) {
Task { // runs on MainActor
- if let userInfo { symLog.log(userInfo) } else { symLog.log(aName) }
await postNotificationM(aName, object: anObject, userInfo:
userInfo)
logger.log("Notification sent: \(aName.rawValue)")
}
@@ -214,12 +213,15 @@ extension WalletCore {
switch payload.type {
case Notification.Name.TransactionStateTransition.rawValue:
+ symLog.log(anyPayload)
try handleStateTransition(jsonData)
case Notification.Name.PendingOperationProcessed.rawValue:
try handlePendingProcessed(payload)
case Notification.Name.BalanceChange.rawValue:
+ symLog.log(anyPayload)
postNotification(.BalanceChange)
case Notification.Name.ExchangeAdded.rawValue:
+ symLog.log(anyPayload)
postNotification(.ExchangeAdded)
case Notification.Name.ReserveNotYetFound.rawValue:
if let reservePub = payload.reservePub {
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-taler-ios] 03/28: talerFonts, (continued)
- [taler-taler-ios] 03/28: talerFonts, gnunet, 2023/09/18
- [taler-taler-ios] 09/28: move AgePicker, gnunet, 2023/09/18
- [taler-taler-ios] 13/28: Comment, gnunet, 2023/09/18
- [taler-taler-ios] 06/28: Black, gnunet, 2023/09/18
- [taler-taler-ios] 14/28: ToSButton, gnunet, 2023/09/18
- [taler-taler-ios] 07/28: DebugView static font size, gnunet, 2023/09/18
- [taler-taler-ios] 12/28: Italic, gnunet, 2023/09/18
- [taler-taler-ios] 15/28: Speed up Sidebar, gnunet, 2023/09/18
- [taler-taler-ios] 11/28: AccessibleFont, gnunet, 2023/09/18
- [taler-taler-ios] 28/28: !!! Temporarily add back old cases to ExchangeTosStatus to be able to run with older wallet-core version !!!, gnunet, 2023/09/18
- [taler-taler-ios] 27/28: simplify log,
gnunet <=
- [taler-taler-ios] 18/28: MainActor for Swift 6, gnunet, 2023/09/18
- [taler-taler-ios] 05/28: Terms of Service, gnunet, 2023/09/18
- [taler-taler-ios] 16/28: ScreenSize, gnunet, 2023/09/18
- [taler-taler-ios] 22/28: CallStack, gnunet, 2023/09/18
- [taler-taler-ios] 23/28: logging, gnunet, 2023/09/18
- [taler-taler-ios] 26/28: fix warning, gnunet, 2023/09/18
- [taler-taler-ios] 21/28: test.taler.net now uses KUDOS (instead of TESTKUDOS), gnunet, 2023/09/18
- [taler-taler-ios] 19/28: Sendable for Swift 6, gnunet, 2023/09/18
- [taler-taler-ios] 25/28: simplify, gnunet, 2023/09/18
- [taler-taler-ios] 20/28: Wording: don't use "encrypt", gnunet, 2023/09/18