feat: hide untrusted content button
This commit is contained in:
parent
5913cc3b88
commit
963051e70d
12 changed files with 177 additions and 57 deletions
|
|
@ -1,3 +1,4 @@
|
|||
import HideUntrustedContentButton from '@/components/HideUntrustedContentButton'
|
||||
import NotificationList from '@/components/NotificationList'
|
||||
import PrimaryPageLayout from '@/layouts/PrimaryPageLayout'
|
||||
import { usePrimaryPage } from '@/PageManager'
|
||||
|
|
@ -35,9 +36,12 @@ function NotificationListPageTitlebar() {
|
|||
const { t } = useTranslation()
|
||||
|
||||
return (
|
||||
<div className="flex gap-2 items-center h-full pl-3">
|
||||
<Bell />
|
||||
<div className="text-lg font-semibold">{t('Notifications')}</div>
|
||||
<div className="flex gap-2 items-center justify-between h-full pl-3">
|
||||
<div className="flex items-center gap-2">
|
||||
<Bell />
|
||||
<div className="text-lg font-semibold">{t('Notifications')}</div>
|
||||
</div>
|
||||
<HideUntrustedContentButton type="notifications" size="titlebar-icon" />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue