fix: 💨

This commit is contained in:
codytseng
2025-07-06 00:58:21 +08:00
committed by Cody Tseng
parent 98bf906916
commit c729c20771
21 changed files with 63 additions and 42 deletions

View File

@@ -55,6 +55,7 @@ const NoteListPage = forwardRef((_, ref) => {
filter={filter}
needCheckAlgoRelay={feedInfo.feedType !== 'following'}
isMainFeed
skipTrustCheck={feedInfo.feedType === 'following'}
/>
)
}

View File

@@ -6,10 +6,10 @@ import SecondaryPageLayout from '@/layouts/SecondaryPageLayout'
import { cn } from '@/lib/utils'
import { useAutoplay } from '@/providers/AutoplayProvider'
import { useTheme } from '@/providers/ThemeProvider'
import { useUserTrust } from '@/providers/UserTrustProvider'
import { SelectValue } from '@radix-ui/react-select'
import { forwardRef, HTMLProps, useState } from 'react'
import { useTranslation } from 'react-i18next'
import { useUserTrust } from '@/providers/UserTrustProvider'
const GeneralSettingsPage = forwardRef(({ index }: { index?: number }, ref) => {
const { t, i18n } = useTranslation()
@@ -66,10 +66,14 @@ const GeneralSettingsPage = forwardRef(({ index }: { index?: number }, ref) => {
<Switch id="autoplay" checked={autoplay} onCheckedChange={setAutoplay} />
</SettingItem>
<SettingItem>
<Label htmlFor="hideUntrustedNotes" className="text-base font-normal">
{t('Hide untrusted posts')}
<Label htmlFor="hide-untrusted-notes" className="text-base font-normal">
{t('Hide untrusted notes')}
</Label>
<Switch id="hideUntrustedNotes" checked={hideUntrustedNotes} onCheckedChange={updateHideUntrustedNotes} />
<Switch
id="hide-untrusted-notes"
checked={hideUntrustedNotes}
onCheckedChange={updateHideUntrustedNotes}
/>
</SettingItem>
</div>
</SecondaryPageLayout>

View File

@@ -198,6 +198,7 @@ const ProfilePage = forwardRef(({ id, index }: { id?: string; index?: number },
className="mt-2"
filterMutedNotes={false}
topSpace={topContainerHeight + 100}
skipTrustCheck
/>
</SecondaryPageLayout>
)