diff --git a/components/account/AccountHeader.vue b/components/account/AccountHeader.vue index aaed93b2..cc69486e 100644 --- a/components/account/AccountHeader.vue +++ b/components/account/AccountHeader.vue @@ -25,6 +25,10 @@ function getFieldIconTitle(fieldName: string) { return fieldName === 'Joined' ? t('account.joined') : fieldName } +function getNotificationIconTitle() { + return relationship?.notifying ? t('account.notifications_on_post_disable', { username: `@${account.username}` }) : t('account.notifications_on_post_enable', { username: `@${account.username}` }) +} + function previewHeader() { openMediaPreview([{ id: `${account.acct}:header`, @@ -100,17 +104,18 @@ const isNotifiedOnPost = $computed(() => !!relationship?.notifying)