Let's just use interests

This commit is contained in:
Eric Bailey
2025-04-04 10:05:06 -05:00
parent e31dc0a270
commit 00ad2c6119
6 changed files with 10 additions and 9 deletions
+1
View File
@@ -275,6 +275,7 @@ func serve(cctx *cli.Context) error {
e.GET("/settings/account", server.WebGeneric) e.GET("/settings/account", server.WebGeneric)
e.GET("/settings/privacy-and-security", server.WebGeneric) e.GET("/settings/privacy-and-security", server.WebGeneric)
e.GET("/settings/content-and-media", server.WebGeneric) e.GET("/settings/content-and-media", server.WebGeneric)
e.GET("/settings/interests", server.WebGeneric)
e.GET("/settings/about", server.WebGeneric) e.GET("/settings/about", server.WebGeneric)
e.GET("/settings/app-icon", server.WebGeneric) e.GET("/settings/app-icon", server.WebGeneric)
e.GET("/sys/debug", server.WebGeneric) e.GET("/sys/debug", server.WebGeneric)
+4 -4
View File
@@ -82,8 +82,8 @@ import {ProfileLabelerLikedByScreen} from '#/screens/Profile/ProfileLabelerLiked
import {SearchScreen} from '#/screens/Search' import {SearchScreen} from '#/screens/Search'
import {AppearanceSettingsScreen} from '#/screens/Settings/AppearanceSettings' import {AppearanceSettingsScreen} from '#/screens/Settings/AppearanceSettings'
import {AppIconSettingsScreen} from '#/screens/Settings/AppIconSettings' import {AppIconSettingsScreen} from '#/screens/Settings/AppIconSettings'
import {ContentPreferences} from '#/screens/Settings/ContentPreferences'
import {NotificationSettingsScreen} from '#/screens/Settings/NotificationSettings' import {NotificationSettingsScreen} from '#/screens/Settings/NotificationSettings'
import {SettingsInterests} from '#/screens/Settings/SettingsInterests'
import { import {
StarterPackScreen, StarterPackScreen,
StarterPackScreenShort, StarterPackScreenShort,
@@ -377,10 +377,10 @@ function commonScreens(Stack: typeof HomeTab, unreadCountLabel?: string) {
}} }}
/> />
<Stack.Screen <Stack.Screen
name="ContentPreferences" name="SettingsInterests"
getComponent={() => ContentPreferences} getComponent={() => SettingsInterests}
options={{ options={{
title: title(msg`Content Preferences`), title: title(msg`Your interests`),
requireAuth: true, requireAuth: true,
}} }}
/> />
+1 -1
View File
@@ -51,7 +51,7 @@ export type CommonNavigatorParams = {
AccountSettings: undefined AccountSettings: undefined
PrivacyAndSecuritySettings: undefined PrivacyAndSecuritySettings: undefined
ContentAndMediaSettings: undefined ContentAndMediaSettings: undefined
ContentPreferences: undefined SettingsInterests: undefined
AboutSettings: undefined AboutSettings: undefined
AppIconSettings: undefined AppIconSettings: undefined
Search: {q?: string} Search: {q?: string}
+1 -1
View File
@@ -45,7 +45,7 @@ export const router = new Router({
AccountSettings: '/settings/account', AccountSettings: '/settings/account',
PrivacyAndSecuritySettings: '/settings/privacy-and-security', PrivacyAndSecuritySettings: '/settings/privacy-and-security',
ContentAndMediaSettings: '/settings/content-and-media', ContentAndMediaSettings: '/settings/content-and-media',
ContentPreferences: '/settings/content-preferences', SettingsInterests: '/settings/interests',
AboutSettings: '/settings/about', AboutSettings: '/settings/about',
AppIconSettings: '/settings/app-icon', AppIconSettings: '/settings/app-icon',
// support // support
@@ -88,8 +88,8 @@ export function ContentAndMediaSettingsScreen({}: Props) {
</SettingsList.ItemText> </SettingsList.ItemText>
</SettingsList.LinkItem> </SettingsList.LinkItem>
<SettingsList.LinkItem <SettingsList.LinkItem
to="/settings/content-preferences" to="/settings/interests"
label={_(msg`Content preferences`)}> label={_(msg`Your interests`)}>
<SettingsList.ItemIcon icon={CircleInfo} /> <SettingsList.ItemIcon icon={CircleInfo} />
<SettingsList.ItemText> <SettingsList.ItemText>
<Trans>Your interests</Trans> <Trans>Your interests</Trans>
@@ -19,7 +19,7 @@ import * as Layout from '#/components/Layout'
import {Loader} from '#/components/Loader' import {Loader} from '#/components/Loader'
import {Text} from '#/components/Typography' import {Text} from '#/components/Typography'
export function ContentPreferences() { export function SettingsInterests() {
const t = useTheme() const t = useTheme()
const gutters = useGutters(['base']) const gutters = useGutters(['base'])
const {data: preferences} = usePreferencesQuery() const {data: preferences} = usePreferencesQuery()