From 5d36c85d1d30702600929b3a367212bb4dde3624 Mon Sep 17 00:00:00 2001 From: JeanGarf Date: Mon, 15 Jun 2020 02:41:00 +0200 Subject: [PATCH] #876 - Code formatting --- .../gnucash/android/ui/transaction/TransactionsActivity.java | 2 +- .../android/ui/transaction/TransactionsListFragment.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/org/gnucash/android/ui/transaction/TransactionsActivity.java b/app/src/main/java/org/gnucash/android/ui/transaction/TransactionsActivity.java index 5f36cf322..609eef7d6 100644 --- a/app/src/main/java/org/gnucash/android/ui/transaction/TransactionsActivity.java +++ b/app/src/main/java/org/gnucash/android/ui/transaction/TransactionsActivity.java @@ -306,7 +306,7 @@ protected void onCreate(Bundle savedInstanceState) { mAccountsDbAdapter = AccountsDbAdapter.getInstance(); // - // Add Tranbsaction Page + // Add Transaction Page // mIsPlaceholderAccount = mAccountsDbAdapter.isPlaceholderAccount(getCurrentAccountUID()); diff --git a/app/src/main/java/org/gnucash/android/ui/transaction/TransactionsListFragment.java b/app/src/main/java/org/gnucash/android/ui/transaction/TransactionsListFragment.java index db9592eba..22c4d3ed2 100644 --- a/app/src/main/java/org/gnucash/android/ui/transaction/TransactionsListFragment.java +++ b/app/src/main/java/org/gnucash/android/ui/transaction/TransactionsListFragment.java @@ -270,6 +270,7 @@ public int getItemViewType(int position) { @Override public void onBindViewHolderCursor(ViewHolder holder, Cursor cursor) { + holder.transactionId = cursor.getLong(cursor.getColumnIndexOrThrow(DatabaseSchema.TransactionEntry._ID)); String description = cursor.getString(cursor.getColumnIndexOrThrow(DatabaseSchema.TransactionEntry.COLUMN_DESCRIPTION));