]> git.ktnx.net Git - mobile-ledger.git/commitdiff
AccountRow: set position from DB
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Mon, 8 Feb 2021 05:48:06 +0000 (05:48 +0000)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Thu, 18 Feb 2021 07:34:05 +0000 (07:34 +0000)
app/src/main/java/net/ktnx/mobileledger/model/TemplateDetailsItem.java

index 0f9cfe490b84e00f8053cb3b35947c49a5196c5f..7c33386670cd72619cde97179579fd7adc428876 100644 (file)
@@ -102,6 +102,7 @@ abstract public class TemplateDetailsItem {
             TemplateAccount pa = (TemplateAccount) p;
             AccountRow acc = createAccountRow();
             acc.setId(pa.getId());
+            acc.setPosition(pa.getPosition());
 
             if (pa.getAccountNameMatchGroup() == null)
                 acc.setAccountName(Misc.nullIsEmpty(pa.getAccountName()));