]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/java/net/ktnx/mobileledger/model/TemplateDetailsItem.java
empty amounts for newly created templates
[mobile-ledger.git] / app / src / main / java / net / ktnx / mobileledger / model / TemplateDetailsItem.java
index 719922769b902c9c773b5f185849773aec2c6c0f..1f3211c4c797de00091ada0403b0a31b0bcb3c49 100644 (file)
@@ -275,7 +275,7 @@ abstract public class TemplateDetailsItem {
         private final PossiblyMatchedValue<String> accountComment =
                 PossiblyMatchedValue.withLiteralString("");
         private final PossiblyMatchedValue<Float> amount =
-                PossiblyMatchedValue.withLiteralFloat(0f);
+                PossiblyMatchedValue.withLiteralFloat(null);
         private final PossiblyMatchedValue<Currency> currency = new PossiblyMatchedValue<>();
         private boolean negateAmount;
         private AccountRow() {