Refactor tag screen to use FlashList
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -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';
|
||||
}
|
||||
|
Reference in New Issue
Block a user