[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-ios] 20/25: Debugging
From: |
gnunet |
Subject: |
[taler-taler-ios] 20/25: Debugging |
Date: |
Mon, 06 Nov 2023 20:40:27 +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 03bb845429ae4b241e97a56fdc7394e02d35324d
Author: Marc Stibane <marc@taler.net>
AuthorDate: Mon Nov 6 19:47:49 2023 +0100
Debugging
---
TalerWallet1/Views/Balances/PendingRowView.swift | 4 ++--
TalerWallet1/Views/Exchange/ExchangeRowView.swift | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/TalerWallet1/Views/Balances/PendingRowView.swift
b/TalerWallet1/Views/Balances/PendingRowView.swift
index ffe1c7d..c312006 100644
--- a/TalerWallet1/Views/Balances/PendingRowView.swift
+++ b/TalerWallet1/Views/Balances/PendingRowView.swift
@@ -27,8 +27,8 @@ struct PendingRowContentV: View {
totalWidth = totalStr.widthOfString(usingUIFont: uiFont,
sizeCategory)
}
- let logStr = String(format: "image: %.2f title: %.2f total: %.2f",
imageWidth, max(title1Width, title2Width), totalWidth)
- print(logStr)
+// let logStr = String(format: "image: %.2f title: %.2f total: %.2f",
imageWidth, max(title1Width, title2Width), totalWidth)
+// print(logStr)
return imageWidth + (isHorizontal ? totalWidth
: max(title1Width, title2Width))
}
diff --git a/TalerWallet1/Views/Exchange/ExchangeRowView.swift
b/TalerWallet1/Views/Exchange/ExchangeRowView.swift
index 2e8aaf3..0ed21cb 100644
--- a/TalerWallet1/Views/Exchange/ExchangeRowView.swift
+++ b/TalerWallet1/Views/Exchange/ExchangeRowView.swift
@@ -18,7 +18,8 @@ struct ExchangeRowView: View {
func selectAndUpdate(_ button: Int) {
buttonSelected = button // will trigger NavigationLink
- // TODO: while navigation animation runs, contact Exchange to update
Fees
+ // TODO: after user tapped a button, while navigation animation runs,
contact Exchange to update Fees
+ // cannot be uncommented yet since there is no scopeInfo
// Task { // runs on MainActor
// do {
// try await model.updateExchange(scopeInfo: balance.scopeInfo)
@@ -28,8 +29,6 @@ struct ExchangeRowView: View {
// }
}
-
-// func
func titles(_ title: String) -> (String, String?) {
if let separatorIndex = title.firstIndex(of: "\n") {
let title1 = String(title[..<separatorIndex])
@@ -50,6 +49,7 @@ struct ExchangeRowView: View {
var body: some View {
let depositTitle0 = String(localized: "DepositButton_Short",
defaultValue: "Deposit",
comment: "Abbreviation of `Deposit
(currency)´")
+ // TODO: deal with \t
let depositTitle1 = String(localized: "Deposit\t\(currency)",
comment: "Button `Deposit (currency)´, must
have ONE \\t and ONE %@")
let withdrawTitle0 = String(localized: "WithdrawButton_Short",
defaultValue: "Withdraw",
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-taler-ios] 24/25: Accessibility: Contrast, (continued)
- [taler-taler-ios] 24/25: Accessibility: Contrast, gnunet, 2023/11/06
- [taler-taler-ios] 18/25: Default for Sound & Haptics ON, gnunet, 2023/11/06
- [taler-taler-ios] 23/25: L10N, EMPTYSTRING, gnunet, 2023/11/06
- [taler-taler-ios] 10/25: Use System Alert for iOS16+, gnunet, 2023/11/06
- [taler-taler-ios] 14/25: Blue Logo, gnunet, 2023/11/06
- [taler-taler-ios] 25/25: Bump version to 0.9.3 (24), gnunet, 2023/11/06
- [taler-taler-ios] 15/25: cleanup sortedTransactions, gnunet, 2023/11/06
- [taler-taler-ios] 07/25: IncompleteRowV, gnunet, 2023/11/06
- [taler-taler-ios] 09/25: Logger, gnunet, 2023/11/06
- [taler-taler-ios] 19/25: SendDone: Prevent double execution, gnunet, 2023/11/06
- [taler-taler-ios] 20/25: Debugging,
gnunet <=
- [taler-taler-ios] 12/25: KYC - wip, gnunet, 2023/11/06
- [taler-taler-ios] 08/25: Accessibility, gnunet, 2023/11/06
- [taler-taler-ios] 17/25: ThreeAmountsV cleanup, gnunet, 2023/11/06
- [taler-taler-ios] 11/25: cleanup, gnunet, 2023/11/06
- [taler-taler-ios] 22/25: Announce, gnunet, 2023/11/06