From: Damyan Ivanov Date: Mon, 8 Feb 2021 05:48:06 +0000 (+0000) Subject: AccountRow: set position from DB X-Git-Tag: v0.17.0~106 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=28380d6c07e26d72ad570c14b33f5cd1227226b8;p=mobile-ledger.git AccountRow: set position from DB --- diff --git a/app/src/main/java/net/ktnx/mobileledger/model/TemplateDetailsItem.java b/app/src/main/java/net/ktnx/mobileledger/model/TemplateDetailsItem.java index 0f9cfe49..7c333866 100644 --- a/app/src/main/java/net/ktnx/mobileledger/model/TemplateDetailsItem.java +++ b/app/src/main/java/net/ktnx/mobileledger/model/TemplateDetailsItem.java @@ -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()));