chore: update
This commit is contained in:
@@ -965,7 +965,10 @@ export default function SettingsScreen() {
|
||||
</View>
|
||||
|
||||
{/* Gestion des types de points */}
|
||||
<View style={{ paddingHorizontal: spacing.l, paddingBottom: spacing.m, borderTopWidth: 1, borderTopColor: colors.border, paddingTop: spacing.m }}>
|
||||
<View
|
||||
pointerEvents={settings.points_enabled ? "auto" : "none"}
|
||||
style={{ paddingHorizontal: spacing.l, paddingBottom: spacing.m, borderTopWidth: 1, borderTopColor: colors.border, paddingTop: spacing.m, opacity: settings.points_enabled ? 1 : 0.4 }}
|
||||
>
|
||||
<Text style={[s.rowLabel, { marginBottom: spacing.s }]}>Types de points</Text>
|
||||
<Text style={[s.rowDesc, { marginBottom: spacing.m }]}>
|
||||
Créez vos propres types de points. Le 1er type → colonne principale, le 2e → colonne secondaire.
|
||||
@@ -988,17 +991,15 @@ export default function SettingsScreen() {
|
||||
</View>
|
||||
);
|
||||
})}
|
||||
{pools.length < 2 && (
|
||||
<TouchableOpacity
|
||||
onPress={addPool}
|
||||
style={{ flexDirection: "row", alignItems: "center", gap: spacing.xs, marginTop: spacing.xs }}
|
||||
>
|
||||
<Ionicons name="add-circle-outline" size={18} color={colors.accent} />
|
||||
<Text style={{ fontSize: fontSize.sm, color: colors.accent, fontWeight: "600" }}>
|
||||
Ajouter un type
|
||||
</Text>
|
||||
</TouchableOpacity>
|
||||
)}
|
||||
<TouchableOpacity
|
||||
onPress={addPool}
|
||||
style={{ flexDirection: "row", alignItems: "center", gap: spacing.xs, marginTop: spacing.xs }}
|
||||
>
|
||||
<Ionicons name="add-circle-outline" size={18} color={colors.accent} />
|
||||
<Text style={{ fontSize: fontSize.sm, color: colors.accent, fontWeight: "600" }}>
|
||||
Ajouter un type
|
||||
</Text>
|
||||
</TouchableOpacity>
|
||||
</View>
|
||||
</View>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user