diff --git a/src/components/BotAccountAlert.tsx b/src/components/BotAccountAlert.tsx index 82b2517a27..07ceb08bac 100644 --- a/src/components/BotAccountAlert.tsx +++ b/src/components/BotAccountAlert.tsx @@ -3,7 +3,7 @@ import {msg} from '@lingui/core/macro' import {useLingui} from '@lingui/react' import {Trans} from '@lingui/react/macro' -import {atoms as a, useTheme} from '#/alf' +import {atoms as a, useTheme, web} from '#/alf' import {Button, ButtonText} from '#/components/Button' import * as Dialog from '#/components/Dialog' import {Robot_Filled_Corner2_Rounded as RobotIcon} from '#/components/icons/Robot' @@ -12,21 +12,23 @@ import {navigate} from '#/Navigation' export function BotAccountAlert({ control, - isOwn, + isSelf, }: { control: Dialog.DialogControlProps - isOwn: boolean + isSelf: boolean }) { const {_} = useLingui() const t = useTheme() - const description = isOwn + const description = isSelf ? 'You have marked this account as automated. You can remove it at any time from your account settings.' : 'This account has been marked as automated by its owner' return ( - + @@ -35,9 +37,8 @@ export function BotAccountAlert({ a.leading_snug, a.text_center, a.pb_xl, + a.text_md, t.atoms.text_contrast_high, - ...(isOwn ? [a.text_md] : [a.text_lg]), - ...(!isOwn ? [a.font_semi_bold] : []), ]}> {description} @@ -51,7 +52,7 @@ export function BotAccountAlert({ Okay - {isOwn ? ( + {isSelf ? ( - + ) } diff --git a/src/components/verification/VerificationCheckButton.tsx b/src/components/verification/VerificationCheckButton.tsx index 40b12c2064..210ed635a5 100644 --- a/src/components/verification/VerificationCheckButton.tsx +++ b/src/components/verification/VerificationCheckButton.tsx @@ -67,7 +67,7 @@ export function VerificationCheckButton({ return null } -export function Badge({ +function Badge({ profile, verificationState: state, size, diff --git a/src/screens/Profile/Header/ProfileHeaderStandard.tsx b/src/screens/Profile/Header/ProfileHeaderStandard.tsx index 12b02423ad..b79d88e9b2 100644 --- a/src/screens/Profile/Header/ProfileHeaderStandard.tsx +++ b/src/screens/Profile/Header/ProfileHeaderStandard.tsx @@ -147,7 +147,7 @@ let ProfileHeaderStandard = ({ - + diff --git a/src/screens/Settings/Settings.tsx b/src/screens/Settings/Settings.tsx index 1e9c07fad4..2cc7885f72 100644 --- a/src/screens/Settings/Settings.tsx +++ b/src/screens/Settings/Settings.tsx @@ -381,7 +381,7 @@ function ProfilePreview({ marginTop: platform({web: 8, ios: 8, android: 10}), }, ]}> - +