Skip to content

A local-first personal finance app

Display transaction notes on mobile, fixes #1764 (#4159)

DarkWolfSLV1cf64f87ab1a
diff --git a/packages/desktop-client/src/components/mobile/transactions/TransactionListItem.tsx b/packages/desktop-client/src/components/mobile/transactions/TransactionListItem.tsx
index 2277c14897..f039490a7d 100644
--- a/packages/desktop-client/src/components/mobile/transactions/TransactionListItem.tsx
+++ b/packages/desktop-client/src/components/mobile/transactions/TransactionListItem.tsx
@@ -89,6 +89,7 @@ export function TransactionListItem({
reconciled: isReconciled,
is_parent: isParent,
is_child: isChild,
+ notes,
schedule: scheduleId,
forceUpcoming,
} = transaction;
@@ -162,7 +163,7 @@ export function TransactionListItem({
padding: '0 4px',
}}
>
- <View>
+ <View style={{ flex: 1 }}>
<View style={{ flexDirection: 'row', alignItems: 'center' }}>
{scheduleId && (
<SvgArrowsSynchronize
@@ -249,6 +250,20 @@ export function TransactionListItem({
</TextOneLine>
</View>
)}
+ {notes && (
+ <TextOneLine
+ style={{
+ fontSize: 11,
+ marginTop: 4,
+ fontWeight: '400',
+ color: theme.tableText,
+ textAlign: 'left',
+ opacity: 0.85,
+ }}
+ >
+ {notes}
+ </TextOneLine>
+ )}
</View>
<View style={{ justifyContent: 'center' }}>
<Text
diff --git a/upcoming-release-notes/4159.md b/upcoming-release-notes/4159.md
new file mode 100644
index 0000000000..d56f661eae
--- /dev/null
+++ b/upcoming-release-notes/4159.md
@@ -0,0 +1,6 @@
+---
+category: Enhancements
+authors: [DarkWolfSLV]
+---
+
+Display transaction notes on mobile, fixes #1764