diff --git a/src/components/Transaction.tsx b/src/components/Transaction.tsx index 4859cbe..d69fbe7 100644 --- a/src/components/Transaction.tsx +++ b/src/components/Transaction.tsx @@ -57,7 +57,6 @@ function TransactionIcon({ ); } else { @@ -66,7 +65,6 @@ function TransactionIcon({ name={transactionIcon(transaction.code)} color={palette.muted} size={20} - style={{ marginRight: 10 }} /> ); } @@ -97,6 +95,7 @@ function Transaction({ padding: 10, flexDirection: "row", alignItems: "center", + gap: 10, backgroundColor: themeColors.card, borderTopLeftRadius: top ? 8 : 0, borderTopRightRadius: top ? 8 : 0, @@ -128,10 +127,19 @@ function Transaction({ : "")} {transaction.memo.replaceAll(/\s{2,}/g, " ")} + {transaction.missing_receipt && ( + + + + + )} 0 ? "#33d6a6" : palette.muted, }} > diff --git a/src/lib/types/Transaction.ts b/src/lib/types/Transaction.ts index dd94107..9100ff1 100644 --- a/src/lib/types/Transaction.ts +++ b/src/lib/types/Transaction.ts @@ -30,6 +30,7 @@ export interface TransactionBase pending: boolean; declined: boolean; code: TransactionType; + missing_receipt: boolean; } export interface CardCharge {