From 38d2beb60f9c8c480f52fda26e662a875b33448c Mon Sep 17 00:00:00 2001 From: uwx Date: Mon, 8 Dec 2025 19:06:11 +0100 Subject: [PATCH] feat: add more gates to DeerSettings --- src/screens/Settings/DeerSettings.tsx | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/screens/Settings/DeerSettings.tsx b/src/screens/Settings/DeerSettings.tsx index 7e8ac1f16..bcfdcb18c 100644 --- a/src/screens/Settings/DeerSettings.tsx +++ b/src/screens/Settings/DeerSettings.tsx @@ -460,7 +460,19 @@ export function DeerSettingsScreen({}: Props) { const showLinkInHandle = useShowLinkInHandle() const setShowLinkInHandle = useSetShowLinkInHandle() - const [gates, setGatesView] = useState(Object.fromEntries(useGatesCache())) + const [gates, setGatesView] = useState(Object.assign({ + alt_share_icon: false, + debug_show_feedcontext: false, + debug_subscriptions: false, + explore_show_suggested_feeds: false, + feed_reply_button_open_thread: false, + old_postonboarding: false, + onboarding_add_video_feed: false, + onboarding_suggested_starterpacks: false, + remove_show_latest_button: false, + test_gate_1: false, + test_gate_2: false, + } satisfies Record, Object.fromEntries(useGatesCache()))) const dangerousSetGate = useDangerousSetGate() const setGate = (gate: Gate, value: boolean) => { dangerousSetGate(gate, value) -- 2.51.2