From 244155ef954ad721ed094bca9a590aecf219f2bb Mon Sep 17 00:00:00 2001 From: km2025 Date: Tue, 27 Jan 2026 14:13:55 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E6=A3=80=E6=9F=A5=EF=BC=8C=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E4=B8=8D=E5=BF=85=E8=A6=81=E7=9A=84=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/(tabs)/index.tsx | 4 ++-- app/(tabs)/sync.tsx | 2 +- app/settings.tsx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/(tabs)/index.tsx b/app/(tabs)/index.tsx index 26ce06e..37c87bd 100644 --- a/app/(tabs)/index.tsx +++ b/app/(tabs)/index.tsx @@ -582,11 +582,11 @@ const GooActions = observer(function GooActions({ gooPoints, on {isDev && isPolling && } )} - {!!isAuthenticated && ( + {!!isLogin && ( router.push('/settings')}> - )} + )} { data={posts} // drawDistance={300} maxItemsInRecyclePool={0} - removeClippedSubviews={true} + // removeClippedSubviews={true} ItemSeparatorComponent={() => } keyExtractor={(item: any) => item?.id} ListFooterComponent={ListFooter} diff --git a/app/settings.tsx b/app/settings.tsx index 811c241..c861293 100644 --- a/app/settings.tsx +++ b/app/settings.tsx @@ -15,7 +15,7 @@ type MenuItem = { } export default observer(function SettingsPage() { - const { user, isAuthenticated, signOut } = userStore + const { user, signOut } = userStore const handleLogout = () => { Toast.showModal(