From 55e1029ad80ef8eb223413d9cc633efefb1b68ac Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Sun, 4 Apr 2021 12:22:42 +0300 Subject: [PATCH] generation is long --- app/src/main/java/net/ktnx/mobileledger/db/Account.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/net/ktnx/mobileledger/db/Account.java b/app/src/main/java/net/ktnx/mobileledger/db/Account.java index 59c164b0..82524fcb 100644 --- a/app/src/main/java/net/ktnx/mobileledger/db/Account.java +++ b/app/src/main/java/net/ktnx/mobileledger/db/Account.java @@ -52,7 +52,7 @@ public class Account { @ColumnInfo(name = "amounts_expanded", defaultValue = "0") private boolean amountsExpanded = false; @ColumnInfo(defaultValue = "0") - private int generation; + private long generation; public long getId() { return id; } @@ -103,10 +103,10 @@ public class Account { public void setAmountsExpanded(boolean amountsExpanded) { this.amountsExpanded = amountsExpanded; } - public int getGeneration() { + public long getGeneration() { return generation; } - public void setGeneration(int generation) { + public void setGeneration(long generation) { this.generation = generation; } @NonNull -- 2.39.5