diff --git a/src/components/Timeline/Shared/Actioned.tsx b/src/components/Timeline/Shared/Actioned.tsx index 7d2c2ff9..efe54d1a 100644 --- a/src/components/Timeline/Shared/Actioned.tsx +++ b/src/components/Timeline/Shared/Actioned.tsx @@ -3,6 +3,7 @@ import { ParseEmojis } from '@components/Parse' import { useNavigation } from '@react-navigation/native' import { StackNavigationProp } from '@react-navigation/stack' import { TabLocalStackParamList } from '@utils/navigation/navigators' +import { getAccountStorage } from '@utils/storage/actions' import { StyleConstants } from '@utils/styles/constants' import { useTheme } from '@utils/styles/ThemeManager' import React, { useContext } from 'react' @@ -37,8 +38,7 @@ const TimelineActioned: React.FC = ({ action, isNotification, ...rest }) /> ) - const onPress = () => - navigation.push('Tab-Shared-Account', { account }) + const onPress = () => navigation.push('Tab-Shared-Account', { account }) const children = () => { switch (action) { @@ -109,6 +109,7 @@ const TimelineActioned: React.FC = ({ action, isNotification, ...rest }) ) case 'reblog': + const myself = rest.rootStatus?.account.id === getAccountStorage.string('auth.account.id') return ( <> = ({ action, isNotification, ...rest }) {content( isNotification ? t('shared.actioned.reblog.notification', { name }) + : myself + ? t('shared.actioned.reblog.myself') : t('shared.actioned.reblog.default', { name }) )} diff --git a/src/i18n/en/components/timeline.json b/src/i18n/en/components/timeline.json index 68b08b49..6560b033 100644 --- a/src/i18n/en/components/timeline.json +++ b/src/i18n/en/components/timeline.json @@ -33,6 +33,7 @@ "poll": "A poll you have voted in has ended", "reblog": { "default": "{{name}} boosted", + "myself": "I boosted", "notification": "{{name}} boosted your toot" }, "update": "Reblog has been edited",