commit 410dc5caf926e52e2082ce47521ef684f89d2931
parent 9889a1ee321c4bd54dd4823b8a5a6618c8b5c41d
Author: Marc Stibane <marc@taler.net>
Date: Mon, 2 Jun 2025 15:55:29 +0200
cleanup
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/TalerWallet1/Controllers/Controller.swift b/TalerWallet1/Controllers/Controller.swift
@@ -285,7 +285,7 @@ class Controller: ObservableObject {
if let info = info(for: scope) {
return info
}
- let info = try await model.getCurrencyInfo(scope: scope, delay: 0)
+ let info = try await model.getCurrencyInfo(scope: scope)
await setInfo(info, for: scope)
return info
}
diff --git a/TalerWallet1/Model/Model+Exchange.swift b/TalerWallet1/Model/Model+Exchange.swift
@@ -251,7 +251,7 @@ extension WalletModel {
_ = try await sendRequest(request, viewHandles: viewHandles)
}
- nonisolated func getCurrencyInfo(scope: ScopeInfo, delay: UInt = 0, viewHandles: Bool = false)
+ nonisolated func getCurrencyInfo(scope: ScopeInfo, viewHandles: Bool = false)
async throws -> CurrencyInfo {
let request = GetCurrencySpecification(scope: scope)
let response = try await sendRequest(request, viewHandles: viewHandles)