chore: add point pool

This commit is contained in:
2026-03-14 00:23:02 +01:00
parent f7be7ea5aa
commit 0523ed6356
10 changed files with 441 additions and 399 deletions
@@ -255,6 +255,26 @@ export default function OrdersScreen() {
paddingHorizontal: spacing.l,
paddingVertical: spacing.s,
},
refreshRow: {
paddingHorizontal: spacing.l,
paddingBottom: spacing.s,
alignItems: "flex-start",
},
refreshBtn: {
flexDirection: "row",
alignItems: "center",
gap: spacing.xs,
paddingHorizontal: spacing.m,
paddingVertical: spacing.s,
backgroundColor: colors.bgCard,
borderRadius: borderRadius.sm,
borderWidth: 1,
borderColor: colors.border,
},
refreshBtnText: {
color: colors.textSecondary,
fontSize: fontSize.sm,
},
filterBtn: {
paddingHorizontal: spacing.l,
paddingVertical: spacing.s,
@@ -620,6 +640,20 @@ export default function OrdersScreen() {
style={styles.filterList}
showsHorizontalScrollIndicator={false}
/>
<View style={styles.refreshRow}>
<TouchableOpacity
style={styles.refreshBtn}
onPress={onRefresh}
disabled={refreshing}
>
<Ionicons
name="refresh-outline"
size={16}
color={refreshing ? colors.textMuted : colors.accent}
/>
<Text style={styles.refreshBtnText}>Actualiser</Text>
</TouchableOpacity>
</View>
<FlatList
data={commands}
keyExtractor={(item) => item.id.toString()}
@@ -637,6 +671,7 @@ export default function OrdersScreen() {
}
/>
{/* Modal items */}
<Modal
visible={itemsModal.visible}