From 56c8207cecdf6d2a51ae8375105328974edb5a15 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Tue, 10 Mar 2026 13:22:13 -0500 Subject: [PATCH] Update lingui UI --- src/components/BotBadge.tsx | 7 +++---- src/screens/Settings/AutomationLabelSettings.tsx | 10 ++++------ 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/src/components/BotBadge.tsx b/src/components/BotBadge.tsx index da72597351..83da49bc4e 100644 --- a/src/components/BotBadge.tsx +++ b/src/components/BotBadge.tsx @@ -1,7 +1,6 @@ import {View} from 'react-native' import {type ComAtprotoLabelDefs} from '@atproto/api' -import {msg} from '@lingui/core/macro' -import {useLingui} from '@lingui/react' +import {useLingui} from '@lingui/react/macro' import {atoms as a, useTheme} from '#/alf' import {BotAccountAlert} from '#/components/BotAccountAlert' @@ -51,7 +50,7 @@ export function BotBadgeButton({ }) { const t = useTheme() const ax = useAnalytics() - const {_} = useLingui() + const {t: l} = useLingui() const control = useDialogControl() if (!isBotAccount(profile)) { @@ -61,7 +60,7 @@ export function BotBadgeButton({ return ( <>