tangled
alpha
login
or
join now
ansxor.ca
/
witchsky.app
forked from
jollywhoppers.com/witchsky.app
1
fork
atom
Bluesky app fork with some witchin' additions 💫
1
fork
atom
overview
issues
pulls
pipelines
replace deer settings with runes
xan.lol
4 weeks ago
711c6982
4382ba2a
verified
This commit was signed with the committer's
known signature
.
xan.lol
SSH Key Fingerprint:
SHA256:7Zs+dcly5YqxBg7v8XsE1uPMYCobHKBw7CDiNxpmSrY=
+14
-14
5 changed files
expand all
collapse all
unified
split
src
Navigation.tsx
lib
routes
types.ts
routes.ts
screens
Settings
RunesSettings.tsx
Settings.tsx
+4
-4
src/Navigation.tsx
···
105
105
import {AppIconSettingsScreen} from '#/screens/Settings/AppIconSettings'
106
106
import {AppPasswordsScreen} from '#/screens/Settings/AppPasswords'
107
107
import {ContentAndMediaSettingsScreen} from '#/screens/Settings/ContentAndMediaSettings'
108
108
-
import {DeerSettingsScreen} from '#/screens/Settings/DeerSettings'
109
108
import {ExternalMediaPreferencesScreen} from '#/screens/Settings/ExternalMediaPreferences'
110
109
import {FindContactsSettingsScreen} from '#/screens/Settings/FindContactsSettings'
111
110
import {FollowingFeedPreferencesScreen} from '#/screens/Settings/FollowingFeedPreferences'
···
124
123
import {RepostNotificationSettingsScreen} from '#/screens/Settings/NotificationSettings/RepostNotificationSettings'
125
124
import {RepostsOnRepostsNotificationSettingsScreen} from '#/screens/Settings/NotificationSettings/RepostsOnRepostsNotificationSettings'
126
125
import {PrivacyAndSecuritySettingsScreen} from '#/screens/Settings/PrivacyAndSecuritySettings'
126
126
+
import {RunesSettingsScreen} from '#/screens/Settings/RunesSettings'
127
127
import {SettingsScreen} from '#/screens/Settings/Settings'
128
128
import {ThreadPreferencesScreen} from '#/screens/Settings/ThreadPreferences'
129
129
import {
···
408
408
}}
409
409
/>
410
410
<Stack.Screen
411
411
-
name="DeerSettings"
412
412
-
getComponent={() => DeerSettingsScreen}
411
411
+
name="RunesSettings"
412
412
+
getComponent={() => RunesSettingsScreen}
413
413
options={{
414
414
-
title: title(msg`Experiments`),
414
414
+
title: title(msg`Runes`),
415
415
requireAuth: true,
416
416
}}
417
417
/>
+1
-1
src/lib/routes/types.ts
···
49
49
PreferencesExternalEmbeds: undefined
50
50
AccessibilitySettings: undefined
51
51
AppearanceSettings: undefined
52
52
-
DeerSettings: undefined
52
52
+
RunesSettings: undefined
53
53
AccountSettings: undefined
54
54
PrivacyAndSecuritySettings: undefined
55
55
ActivityPrivacySettings: undefined
+1
-1
src/routes.ts
···
47
47
PreferencesThreads: '/settings/threads',
48
48
PreferencesExternalEmbeds: '/settings/external-embeds',
49
49
AccessibilitySettings: '/settings/accessibility',
50
50
-
DeerSettings: '/settings/deer',
50
50
+
RunesSettings: '/settings/runes',
51
51
AppearanceSettings: '/settings/appearance',
52
52
SavedFeeds: '/settings/saved-feeds',
53
53
AccountSettings: '/settings/account',
+4
-4
src/screens/Settings/DeerSettings.tsx
src/screens/Settings/RunesSettings.tsx
···
131
131
import {Button, ButtonText} from '#/components/Button'
132
132
import * as Dialog from '#/components/Dialog'
133
133
import * as Toggle from '#/components/forms/Toggle'
134
134
-
import {Atom_Stroke2_Corner0_Rounded as DeerIcon} from '#/components/icons/Atom'
134
134
+
import {Atom_Stroke2_Corner0_Rounded as AtomIcon} from '#/components/icons/Atom'
135
135
import {ChainLink_Stroke2_Corner0_Rounded as ChainLinkIcon} from '#/components/icons/ChainLink'
136
136
import {Eye_Stroke2_Corner0_Rounded as VisibilityIcon} from '#/components/icons/Eye'
137
137
import {Earth_Stroke2_Corner2_Rounded as EarthIcon} from '#/components/icons/Globe'
···
488
488
)
489
489
}
490
490
491
491
-
export function DeerSettingsScreen({}: Props) {
491
491
+
export function RunesSettingsScreen({}: Props) {
492
492
const {_} = useLingui()
493
493
494
494
const goLinksEnabled = useGoLinksEnabled()
···
584
584
<Layout.Header.BackButton />
585
585
<Layout.Header.Content>
586
586
<Layout.Header.TitleText>
587
587
-
<Trans>Experiments</Trans>
587
587
+
<Trans>Runes</Trans>
588
588
</Layout.Header.TitleText>
589
589
</Layout.Header.Content>
590
590
<Layout.Header.Slot />
···
592
592
<Layout.Content>
593
593
<SettingsList.Container>
594
594
<SettingsList.Group contentContainerStyle={[a.gap_sm]}>
595
595
-
<SettingsList.ItemIcon icon={DeerIcon} />
595
595
+
<SettingsList.ItemIcon icon={AtomIcon} />
596
596
<SettingsList.ItemText>
597
597
<Trans>Redirects</Trans>
598
598
</SettingsList.ItemText>
+4
-4
src/screens/Settings/Settings.tsx
···
40
40
import {useDialogControl} from '#/components/Dialog'
41
41
import {SwitchAccountDialog} from '#/components/dialogs/SwitchAccount'
42
42
import {Accessibility_Stroke2_Corner2_Rounded as AccessibilityIcon} from '#/components/icons/Accessibility'
43
43
-
import {Atom_Stroke2_Corner0_Rounded as DeerIcon} from '#/components/icons/Atom'
43
43
+
import {Atom_Stroke2_Corner0_Rounded as AtomIcon} from '#/components/icons/Atom'
44
44
import {Bell_Stroke2_Corner0_Rounded as NotificationIcon} from '#/components/icons/Bell'
45
45
import {BubbleInfo_Stroke2_Corner2_Rounded as BubbleInfoIcon} from '#/components/icons/BubbleInfo'
46
46
import {ChevronTop_Stroke2_Corner0_Rounded as ChevronUpIcon} from '#/components/icons/Chevron'
···
233
233
<Trans>Appearance</Trans>
234
234
</SettingsList.ItemText>
235
235
</SettingsList.LinkItem>
236
236
-
<SettingsList.LinkItem to="/settings/deer" label={_(msg`Deer`)}>
237
237
-
<SettingsList.ItemIcon icon={DeerIcon} />
236
236
+
<SettingsList.LinkItem to="/settings/runes" label={_(msg`Runes`)}>
237
237
+
<SettingsList.ItemIcon icon={AtomIcon} />
238
238
<SettingsList.ItemText>
239
239
-
<Trans>Experiments</Trans>
239
239
+
<Trans>Runes</Trans>
240
240
</SettingsList.ItemText>
241
241
</SettingsList.LinkItem>
242
242
<SettingsList.LinkItem