Skip to content

Commit

Permalink
Display transaction notes on mobile, fixes actualbudget#1764
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkWolfSLV committed Jan 16, 2025
1 parent bd0e7ca commit 27f829c
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export function TransactionListItem({
const transferAccount = useAccount(payee?.transfer_acct || '');
const isPreview = isPreviewId(transaction?.id || '');

const newTransactions = useSelector((state) => state.queries.newTransactions);
const newTransactions = useSelector(state => state.queries.newTransactions);

const { longPressProps } = useLongPress({
accessibilityDescription: 'Long press to select multiple transactions',
Expand Down Expand Up @@ -104,10 +104,10 @@ export function TransactionListItem({
const specialCategory = account?.offbudget
? 'Off budget'
: transferAccount && !transferAccount.offbudget
? 'Transfer'
: isParent
? 'Split'
: null;
? 'Transfer'
: isParent
? 'Split'
: null;

const prettyCategory = specialCategory || categoryName;

Expand Down

0 comments on commit 27f829c

Please sign in to comment.