Refactor tag screen to use FlashList

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2023-07-15 19:37:15 +03:00
parent bd1dcd6809
commit 622d88cf40
11 changed files with 95 additions and 49 deletions

View File

@@ -32,6 +32,7 @@ const homeSortQuery = (sort: HOME_SORT) => {
enum TAG_SORT {
NAME = 'Name',
COLOR = 'Color',
MEMES_LENGTH = 'Items',
DATE_CREATED = 'Date Created',
DATE_MODIFIED = 'Date Modified',
@@ -43,6 +44,9 @@ const tagSortQuery = (sort: TAG_SORT) => {
case TAG_SORT.NAME: {
return 'name';
}
case TAG_SORT.COLOR: {
return 'color';
}
case TAG_SORT.MEMES_LENGTH: {
return 'memesLength';
}