refactor(sidebar-screen): update navigation to replace splash route on logout

This commit is contained in:
2026-07-09 18:45:41 +08:00
parent 70c8674b17
commit 747f36cbaf
2 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ export function SidebarScreen() {
userDispatch({ type: "UserClearLocal" });
authDispatch({ type: "AuthLogoutSubmitted" });
void signOut({ redirect: false });
navigator.openChat({ replace: true });
navigator.replace(ROUTES.splash, { scroll: false });
};
// 状态派生:未登录 / 已登录未 VIP / 已登录 VIP