Adds toggles for gates that exist in the code but don't show up as they're not in the gates cache.
+13
-1
Diff
round #0
+13
-1
src/screens/Settings/DeerSettings.tsx
+13
-1
src/screens/Settings/DeerSettings.tsx
···
474
474
const showLinkInHandle = useShowLinkInHandle()
475
475
const setShowLinkInHandle = useSetShowLinkInHandle()
476
476
477
-
const [gates, setGatesView] = useState(Object.fromEntries(useGatesCache()))
477
+
const [gates, setGatesView] = useState(Object.assign({
478
+
alt_share_icon: false,
479
+
debug_show_feedcontext: false,
480
+
debug_subscriptions: false,
481
+
explore_show_suggested_feeds: false,
482
+
feed_reply_button_open_thread: false,
483
+
old_postonboarding: false,
484
+
onboarding_add_video_feed: false,
485
+
onboarding_suggested_starterpacks: false,
486
+
remove_show_latest_button: false,
487
+
test_gate_1: false,
488
+
test_gate_2: false,
489
+
} satisfies Record<Gate, false>, Object.fromEntries(useGatesCache())))
478
490
const dangerousSetGate = useDangerousSetGate()
479
491
const setGate = (gate: Gate, value: boolean) => {
480
492
dangerousSetGate(gate, value)
History
1 round
1 comment
maxine.puppykitty.racing
submitted
#0
1 commit
expand
collapse
e4fcf8f1
feat: add more gates to DeerSettings
expand 1 comment
pull request successfully merged
thank you for this ๐ญ i had no idea why they weren't showing up