diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-05-21 01:29:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-20 19:29:22 -0500 |
commit | 4a7436886d0548ae453997286f5a8c2ac4b297a0 (patch) | |
tree | 1adc5e46a824016df65d261df99ad5661c74f42d /src/view/shell/desktop/LeftNav.tsx | |
parent | a7b0242cc8aaf09273abe20903e88e59a4acd1a7 (diff) | |
download | voidsky-4a7436886d0548ae453997286f5a8c2ac4b297a0.tar.zst |
remove DMs gate (#4112)
Diffstat (limited to 'src/view/shell/desktop/LeftNav.tsx')
-rw-r--r-- | src/view/shell/desktop/LeftNav.tsx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/view/shell/desktop/LeftNav.tsx b/src/view/shell/desktop/LeftNav.tsx index 3fc0774f3..9b2b4922a 100644 --- a/src/view/shell/desktop/LeftNav.tsx +++ b/src/view/shell/desktop/LeftNav.tsx @@ -12,7 +12,6 @@ import { useNavigationState, } from '@react-navigation/native' -import {useGate} from '#/lib/statsig/statsig' import {isInvalidHandle} from '#/lib/strings/handles' import {emitSoftReset} from '#/state/events' import {useFetchHandle} from '#/state/queries/handle' @@ -304,7 +303,6 @@ export function DesktopLeftNav() { const {_} = useLingui() const {isDesktop, isTablet} = useWebMediaQueries() const numUnreadNotifications = useUnreadNotifications() - const gate = useGate() if (!hasSession && !isDesktop) { return null @@ -351,7 +349,7 @@ export function DesktopLeftNav() { iconFilled={<BellFilled width={NAV_ICON_WIDTH} style={pal.text} />} label={_(msg`Notifications`)} /> - {gate('dms') && <ChatNavItem />} + <ChatNavItem /> <NavItem href="/feeds" icon={ |