mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-11 12:43:09 -05:00
* Display transaction notes on mobile, fixes #1764 * Display transaction notes on mobile, fixes #1764 * Display transaction notes on mobile, fixes #1764 * Display transaction notes on mobile, fixes #1764 * Moving the notes to the bottom * Moving the notes to the bottom - right file. * Updating the code as requested * Adding conditional rendering as suggested by Bugs Bunny * Adding conditional rendering as suggested by Bugs Bunny and lint --------- Co-authored-by: Matt Fiddaman <github@m.fiddaman.uk>
This commit is contained in:
@@ -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
|
||||
|
||||
6
upcoming-release-notes/4159.md
Normal file
6
upcoming-release-notes/4159.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
category: Enhancements
|
||||
authors: [DarkWolfSLV]
|
||||
---
|
||||
|
||||
Display transaction notes on mobile, fixes #1764
|
||||
Reference in New Issue
Block a user