From 7c334b58088dfb87286cbefb658a231fea0dbda2 Mon Sep 17 00:00:00 2001 From: DIYgod Date: Fri, 4 Apr 2025 00:29:58 +0800 Subject: [PATCH] feat(mobile): use TouchableOpacity for EntryListFooter --- apps/mobile/src/modules/entry-list/EntryListFooter.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/mobile/src/modules/entry-list/EntryListFooter.tsx b/apps/mobile/src/modules/entry-list/EntryListFooter.tsx index 74cc50ec6..377eda155 100644 --- a/apps/mobile/src/modules/entry-list/EntryListFooter.tsx +++ b/apps/mobile/src/modules/entry-list/EntryListFooter.tsx @@ -1,5 +1,5 @@ import { useTranslation } from "react-i18next" -import { Pressable, Text } from "react-native" +import { Text, TouchableOpacity } from "react-native" import { CheckCircleCuteReIcon } from "@/src/icons/check_circle_cute_re" import { unreadSyncService } from "@/src/store/unread/store" @@ -14,7 +14,7 @@ export const EntryListFooter = () => { return ( <> - { if (typeof selectedView === "number") { @@ -28,7 +28,7 @@ export const EntryListFooter = () => { which: t("operation.mark_all_as_read_which_above"), })} - + ) } @@ -38,7 +38,7 @@ export const GridEntryListFooter = () => { const selectedView = useSelectedView() return ( - { if (typeof selectedView === "number") { @@ -52,6 +52,6 @@ export const GridEntryListFooter = () => { which: t("operation.mark_all_as_read_which_above"), })} - + ) }