From f1d120d416bc262b5fd63e3407f9e0b09b13cd74 Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Thu, 23 Jan 2025 22:33:28 +0000 Subject: Takendown state + in-app takedown appeals (#7566) * takendown screen * add form, move button inline * expect type error * display error * disable submit if too long * move around all the ctas * typos, rm layoutanimation, fix link * use REASONAPPEAL --- src/view/shell/createNativeStackNavigatorWithAuth.tsx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/view/shell/createNativeStackNavigatorWithAuth.tsx') diff --git a/src/view/shell/createNativeStackNavigatorWithAuth.tsx b/src/view/shell/createNativeStackNavigatorWithAuth.tsx index 9bcb91b7a..35a46b427 100644 --- a/src/view/shell/createNativeStackNavigatorWithAuth.tsx +++ b/src/view/shell/createNativeStackNavigatorWithAuth.tsx @@ -34,6 +34,7 @@ import {LoggedOut} from '#/view/com/auth/LoggedOut' import {Deactivated} from '#/screens/Deactivated' import {Onboarding} from '#/screens/Onboarding' import {SignupQueued} from '#/screens/SignupQueued' +import {Takendown} from '#/screens/Takendown' import {atoms as a} from '#/alf' import {BottomBarWeb} from './bottom-bar/BottomBarWeb' import {DesktopLeftNav} from './desktop/LeftNav' @@ -107,6 +108,9 @@ function NativeStackNavigator({ if (hasSession && currentAccount?.signupQueued) { return } + if (hasSession && currentAccount?.status === 'takendown') { + return + } if (showLoggedOut) { return setShowLoggedOut(false)} /> } -- cgit 1.4.1