Bluesky app fork with some witchin' additions ๐Ÿ’ซ witchsky.app
bluesky fork client

Add more gates to DeerSettings #24

merged opened by maxine.puppykitty.racing targeting main

Adds toggles for gates that exist in the code but don't show up as they're not in the gates cache.

Labels

None yet.

assignee

None yet.

Participants 2
AT URI
at://did:plc:nmc77zslrwafxn75j66mep6o/sh.tangled.repo.pull/3m7intd3cxv22
+13 -1
Diff #0
+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
sign up or login to add to the discussion
1 commit
expand
e4fcf8f1
feat: add more gates to DeerSettings
expand 1 comment

thank you for this ๐Ÿ˜ญ i had no idea why they weren't showing up

pull request successfully merged