diff --git a/src/screens/SettingsScreen.tsx b/src/screens/SettingsScreen.tsx
index 65480dc..434c63e 100644
--- a/src/screens/SettingsScreen.tsx
+++ b/src/screens/SettingsScreen.tsx
@@ -368,30 +368,36 @@ export function SettingsScreen() {
{t === 'income' ? '💚 Pemasukan' : '❤️ Pengeluaran'}
- {categories
- .filter((c) => c.type === t)
- .map((c) => (
-
-
- {c.icon}
+
+ {categories
+ .filter((c) => c.type === t)
+ .map((c) => (
+
+
+ navigation.navigate('CategoryForm', {
+ categoryId: c.id,
+ initialName: c.name,
+ initialIcon: c.icon,
+ })
+ }
+ >
+ {c.icon}
+
+ {c.name}
+
+
+ handleDeleteCategory(c)}
+ hitSlop={6}
+ >
+
+
-
- navigation.navigate('CategoryForm', {
- categoryId: c.id,
- initialName: c.name,
- initialIcon: c.icon,
- })
- }
- >
- {c.name}
-
- handleDeleteCategory(c)} hitSlop={8}>
-
-
-
- ))}
+ ))}
+
))}
@@ -592,9 +598,45 @@ const styles = StyleSheet.create({
fontWeight: '700',
color: colors.textMuted,
marginTop: 6,
- marginBottom: 4,
+ marginBottom: 8,
+ },
+ catChipGrid: {
+ flexDirection: 'row',
+ flexWrap: 'wrap',
+ gap: 8,
+ marginBottom: 8,
+ },
+ catChipWrap: { position: 'relative' },
+ catChip: {
+ flexDirection: 'row',
+ alignItems: 'center',
+ gap: 6,
+ backgroundColor: colors.background,
+ borderWidth: 1,
+ borderColor: colors.border,
+ borderRadius: 10,
+ paddingLeft: 10,
+ paddingRight: 24,
+ paddingVertical: 8,
+ },
+ catChipEmoji: { fontSize: 15 },
+ catChipName: {
+ fontSize: 12,
+ fontWeight: '600',
+ color: colors.text,
+ maxWidth: 90,
+ },
+ catChipDelete: {
+ position: 'absolute',
+ right: 3,
+ top: 3,
+ width: 16,
+ height: 16,
+ borderRadius: 8,
+ backgroundColor: colors.expense,
+ alignItems: 'center',
+ justifyContent: 'center',
},
- catEmoji: { fontSize: 17 },
emptyRecurringText: {
fontSize: 13,
color: colors.textMuted,