on top of https://tangled.org/jollywhoppers.com/witchsky.app/pulls/40
+21
-19
Diff
round #0
+21
-19
src/screens/Settings/DeerSettings.tsx
+21
-19
src/screens/Settings/DeerSettings.tsx
···
131
131
import {Verified_Stroke2_Corner2_Rounded as VerifiedIcon} from '#/components/icons/Verified'
132
132
import * as Layout from '#/components/Layout'
133
133
import {Text} from '#/components/Typography'
134
-
import { IS_WEB } from '#/env/index.web'
134
+
import {IS_WEB} from '#/env'
135
135
import {SearchProfileCard} from '../Search/components/SearchProfileCard'
136
136
type Props = NativeStackScreenProps<CommonNavigatorParams>
137
137
138
138
const defaultGateValues = {
139
-
alt_share_icon: false,
140
-
debug_show_feedcontext: false,
141
-
debug_subscriptions: false,
142
-
disable_onboarding_find_contacts: false,
143
-
disable_settings_find_contacts: false,
144
-
explore_show_suggested_feeds: false,
145
-
feed_reply_button_open_thread: false,
146
-
is_bsky_team_member: false,
147
-
disable_live_now_beta: false,
148
-
old_postonboarding: false,
149
-
onboarding_add_video_feed: false,
150
-
onboarding_suggested_starterpacks: false,
151
-
remove_show_latest_button: false,
152
-
show_composer_prompt: false,
153
-
suggested_users_dismiss: false,
154
-
test_gate_1: false,
155
-
test_gate_2: false
139
+
alt_share_icon: false,
140
+
debug_show_feedcontext: false,
141
+
debug_subscriptions: false,
142
+
disable_onboarding_find_contacts: false,
143
+
disable_settings_find_contacts: false,
144
+
explore_show_suggested_feeds: false,
145
+
feed_reply_button_open_thread: false,
146
+
is_bsky_team_member: false,
147
+
disable_live_now_beta: false,
148
+
old_postonboarding: false,
149
+
onboarding_add_video_feed: false,
150
+
onboarding_suggested_starterpacks: false,
151
+
remove_show_latest_button: false,
152
+
show_composer_prompt: false,
153
+
suggested_users_dismiss: false,
154
+
test_gate_1: false,
155
+
test_gate_2: false,
156
156
} satisfies Record<Gate, false>
157
157
158
158
function ConstellationInstanceDialog({
···
487
487
const showLinkInHandle = useShowLinkInHandle()
488
488
const setShowLinkInHandle = useSetShowLinkInHandle()
489
489
490
-
const [gates, setGatesView] = useState(Object.assign(defaultGateValues, Object.fromEntries(useGatesCache())))
490
+
const [gates, setGatesView] = useState(
491
+
Object.assign(defaultGateValues, Object.fromEntries(useGatesCache())),
492
+
)
491
493
const dangerousSetGate = useDangerousSetGate()
492
494
const setGate = (gate: Gate, value: boolean) => {
493
495
dangerousSetGate(gate, value)