fix: PDF approx symbol — use ~ instead of unicode ≈ (unsupported by jsPDF Helvetica)

This commit is contained in:
Alexander Schmidt
2026-03-25 17:23:32 +01:00
parent 506c70e4b8
commit e36ec77bcd
2 changed files with 2 additions and 2 deletions

2
app.js
View File

@@ -570,7 +570,7 @@
if (xmrAmount) {
var amountStr = xmrAmount.toFixed(8) + ' XMR';
if (currency !== 'XMR' && amount) {
amountStr += ' (\u2248 ' + amount.toFixed(2) + ' ' + currency + ')';
amountStr += ' (~ ' + amount.toFixed(2) + ' ' + currency + ')';
}
addField(I18n.t('pdf_amount'), amountStr);
}