add sort into header

This commit is contained in:
m
2026-08-28 23:36:14 +02:00
parent ae8931ee21
commit d6a014ef84
2 changed files with 87 additions and 0 deletions
+5
View File
@@ -8,6 +8,7 @@ import { useAddTags, useMoveResources, useFolders, useFiles, useFreeLocalSpace,
import { SelectionPanel } from '../components/SelectionPanel';
import { UnifiedFileItem, isFolder } from '../types';
import { SearchBar, SearchFilters, SortState } from '../components/SearchBar';
import { SortChips } from '../components/SortChips';
import { FileCard } from '../components/FileCard';
import { SettingsModal } from '../components/SettingsModal';
import { ConfirmModal, type ConfirmOption } from '../components/ConfirmModal';
@@ -460,6 +461,10 @@ export function HomeScreen() {
)}
</View>
)}
<SortChips
sort={sort}
onSortChange={setSort}
/>
<View style={styles.listWrapper}>
<FlatList
ref={listRef}