update
This commit is contained in:
@@ -60,12 +60,12 @@ const StatusBadge: React.FC<{ status?: string }> = ({ status }) => {
|
|||||||
const getStatusColors = (s: string) => {
|
const getStatusColors = (s: string) => {
|
||||||
switch (s) {
|
switch (s) {
|
||||||
case 'SUCCESS':
|
case 'SUCCESS':
|
||||||
return { bg: theme.colors.success + '15', text: theme.colors.success };
|
return { bg: theme.colors.success + '20', text: theme.colors.success };
|
||||||
case 'SENT_TO_PROCESSOR':
|
case 'SENT_TO_PROCESSOR':
|
||||||
case 'PENDING':
|
case 'PENDING':
|
||||||
return { bg: theme.colors.warning + '15', text: theme.colors.warning };
|
return { bg: theme.colors.warning + '20', text: theme.colors.warning };
|
||||||
default:
|
default:
|
||||||
return { bg: theme.colors.error + '15', text: theme.colors.error };
|
return { bg: theme.colors.error + '20', text: theme.colors.error };
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -189,7 +189,7 @@ const TransactionsList: React.FC = () => {
|
|||||||
const isLoading = false; // Add placeholder or hook if needed
|
const isLoading = false; // Add placeholder or hook if needed
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<AppView paddingHorizontal={0}>
|
<AppView paddingHorizontal={0} backgroundColor={theme.colors.surface}>
|
||||||
<Header title="Transactions" titleColor={theme.colors.textPrimary} arrowColor={theme.colors.textPrimary} />
|
<Header title="Transactions" titleColor={theme.colors.textPrimary} arrowColor={theme.colors.textPrimary} />
|
||||||
<View style={{ paddingHorizontal: 16, marginBottom: 8 }}>
|
<View style={{ paddingHorizontal: 16, marginBottom: 8 }}>
|
||||||
<Text style={[styles.headerTitle, { color: theme.colors.textPrimary }]}>{message}</Text>
|
<Text style={[styles.headerTitle, { color: theme.colors.textPrimary }]}>{message}</Text>
|
||||||
|
|||||||
Reference in New Issue
Block a user