+13
-1
src/screens/Settings/DeerSettings.tsx
+13
-1
src/screens/Settings/DeerSettings.tsx
···
460
460
const showLinkInHandle = useShowLinkInHandle()
461
461
const setShowLinkInHandle = useSetShowLinkInHandle()
462
462
463
-
const [gates, setGatesView] = useState(Object.fromEntries(useGatesCache()))
463
+
const [gates, setGatesView] = useState(Object.assign({
464
+
alt_share_icon: false,
465
+
debug_show_feedcontext: false,
466
+
debug_subscriptions: false,
467
+
explore_show_suggested_feeds: false,
468
+
feed_reply_button_open_thread: false,
469
+
old_postonboarding: false,
470
+
onboarding_add_video_feed: false,
471
+
onboarding_suggested_starterpacks: false,
472
+
remove_show_latest_button: false,
473
+
test_gate_1: false,
474
+
test_gate_2: false,
475
+
} satisfies Record<Gate, false>, Object.fromEntries(useGatesCache())))
464
476
const dangerousSetGate = useDangerousSetGate()
465
477
const setGate = (gate: Gate, value: boolean) => {
466
478
dangerousSetGate(gate, value)