Improve navigation and replace ScrollView with FlatList in Journal

This commit is contained in:
2026-08-31 18:01:12 +02:00
parent 8ce26da0c5
commit d432b244f3
2 changed files with 57 additions and 50 deletions
+1 -1
View File
@@ -182,7 +182,7 @@ export default function AddJournalScreen() {
<View className="bg-white px-4 pb-6 shadow-sm border-b border-gray-100">
<SafeAreaView edges={['top']} className='pt-5'>
<View className='flex-row items-center gap-4 px-2'>
<TouchableOpacity onPress={() => router.back()} className="p-2 -ml-2 rounded-full active:bg-gray-100">
<TouchableOpacity onPress={() => router.push('/(protected)/journal')} className="p-2 -ml-2 rounded-full active:bg-gray-100">
<ChevronLeft size={28} color="#4b5563" pointerEvents="none" />
</TouchableOpacity>