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/privacy-and-security", 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/app-icon", 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 {AppearanceSettingsScreen} from '#/screens/Settings/AppearanceSettings'
import {AppIconSettingsScreen} from '#/screens/Settings/AppIconSettings'
import {ContentPreferences} from '#/screens/Settings/ContentPreferences'
import {NotificationSettingsScreen} from '#/screens/Settings/NotificationSettings'
import {SettingsInterests} from '#/screens/Settings/SettingsInterests'
import {
StarterPackScreen,
StarterPackScreenShort,
@@ -377,10 +377,10 @@ function commonScreens(Stack: typeof HomeTab, unreadCountLabel?: string) {
}}
/>
<Stack.Screen
name="ContentPreferences"
getComponent={() => ContentPreferences}
name="SettingsInterests"
getComponent={() => SettingsInterests}
options={{
title: title(msg`Content Preferences`),
title: title(msg`Your interests`),
requireAuth: true,
}}
/>
+1 -1
View File
@@ -51,7 +51,7 @@ export type CommonNavigatorParams = {
AccountSettings: undefined
PrivacyAndSecuritySettings: undefined
ContentAndMediaSettings: undefined
ContentPreferences: undefined
SettingsInterests: undefined
AboutSettings: undefined
AppIconSettings: undefined
Search: {q?: string}
+1 -1
View File
@@ -45,7 +45,7 @@ export const router = new Router({
AccountSettings: '/settings/account',
PrivacyAndSecuritySettings: '/settings/privacy-and-security',
ContentAndMediaSettings: '/settings/content-and-media',
ContentPreferences: '/settings/content-preferences',
SettingsInterests: '/settings/interests',
AboutSettings: '/settings/about',
AppIconSettings: '/settings/app-icon',
// support
@@ -88,8 +88,8 @@ export function ContentAndMediaSettingsScreen({}: Props) {
</SettingsList.ItemText>
</SettingsList.LinkItem>
<SettingsList.LinkItem
to="/settings/content-preferences"
label={_(msg`Content preferences`)}>
to="/settings/interests"
label={_(msg`Your interests`)}>
<SettingsList.ItemIcon icon={CircleInfo} />
<SettingsList.ItemText>
<Trans>Your interests</Trans>
@@ -19,7 +19,7 @@ import * as Layout from '#/components/Layout'
import {Loader} from '#/components/Loader'
import {Text} from '#/components/Typography'
export function ContentPreferences() {
export function SettingsInterests() {
const t = useTheme()
const gutters = useGutters(['base'])
const {data: preferences} = usePreferencesQuery()