We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e96d78e commit 5d14141Copy full SHA for 5d14141
lib/pages/transaction.dart
@@ -2319,6 +2319,13 @@ TransactionSplitUpdate txFilterSameFields(
2319
}
2320
2321
2322
+ // Undo "HAX" from above if not needed (foreign currency was zero, is zero)
2323
+ if (tx.foreignCurrencyId == null &&
2324
+ txU.foreignCurrencyId == null &&
2325
+ foreignAmount == "0") {
2326
+ foreignAmount = null;
2327
+ }
2328
+
2329
return txU.copyWithWrapped(
2330
amount: Wrapped<String?>.value(amount),
2331
foreignAmount: Wrapped<String?>.value(foreignAmount),
0 commit comments