diff --git a/mobile/app/index.tsx b/mobile/app/index.tsx index 4087269..184b96a 100644 --- a/mobile/app/index.tsx +++ b/mobile/app/index.tsx @@ -1,5 +1,5 @@ import React, { useState, useMemo, useEffect, useCallback } from 'react'; -import { View, FlatList, StyleSheet, TouchableOpacity, Text, Dimensions, KeyboardAvoidingView, Platform, Keyboard, Alert, Modal, TextInput } from 'react-native'; +import { View, FlatList, StyleSheet, TouchableOpacity, Text, Dimensions, KeyboardAvoidingView, Platform, Keyboard, Alert, Modal, TextInput, ScrollView } from 'react-native'; import { useNavigation } from '@react-navigation/native'; import { useSafeAreaInsets } from 'react-native-safe-area-context'; import { NativeStackNavigationProp } from '@react-navigation/native-stack'; @@ -345,43 +345,47 @@ export function HomeScreen() { Tout - + - - Supprimer + + Supprimer - - Éditer + + Éditer openTagModal('tag')} > - - Tags + + Tags openTagModal('folder')} > - - Folder + + Folder setMoveModalVisible(true)} > - - Déplacer + + Déplacer - + ) : ( @@ -600,42 +604,26 @@ const styles = StyleSheet.create({ }, selectionActions: { flexDirection: 'row', - gap: 12, + gap: 8, + paddingVertical: 4, }, - selectionActionBtn: { - flex: 1, + selectionChip: { flexDirection: 'row', alignItems: 'center', - justifyContent: 'center', - paddingVertical: 12, - borderRadius: 8, + paddingHorizontal: 14, + paddingVertical: 8, + borderRadius: 20, gap: 6, - borderWidth: 1.5, }, - deleteActionBtn: { - borderColor: '#F44336', - backgroundColor: 'transparent', - }, - editActionBtn: { - borderColor: '#1976D2', - backgroundColor: 'transparent', - }, - selectionActionText: { - fontSize: 15, + chipText: { + fontSize: 13, fontWeight: '600', }, - tagActionBtn: { - borderColor: '#7B1FA2', - backgroundColor: 'transparent', - }, - folderActionBtn: { - borderColor: '#F57C00', - backgroundColor: 'transparent', - }, - moveActionBtn: { - borderColor: '#00897B', - backgroundColor: 'transparent', - }, + deleteChip: { backgroundColor: '#FFEBEE' }, + editChip: { backgroundColor: '#E3F2FD' }, + tagChip: { backgroundColor: '#F3E5F5' }, + folderChip: { backgroundColor: '#FFF3E0' }, + moveChip: { backgroundColor: '#E0F2F1' }, folderOption: { flexDirection: 'row', alignItems: 'center',