diff --git a/src/components/BotAccountAlert.tsx b/src/components/BotAccountAlert.tsx
new file mode 100644
index 0000000000..5de4721ece
--- /dev/null
+++ b/src/components/BotAccountAlert.tsx
@@ -0,0 +1,57 @@
+import {View} from 'react-native'
+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 {Button, ButtonText} from '#/components/Button'
+import type * as Dialog from '#/components/Dialog'
+import {Robot_Filled_Corner2_Rounded as RobotIcon} from '#/components/icons/Robot'
+import * as Prompt from '#/components/Prompt'
+import {navigate} from '#/Navigation'
+
+export function BotAccountAlert({
+ control,
+ isOwn,
+}: {
+ control: Dialog.DialogControlProps
+ isOwn: boolean
+}) {
+ const {_} = useLingui()
+ const t = useTheme()
+
+ const description = isOwn
+ ? '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 (
+
+
+
+
+
+
+ {description}
+
+
+
+ {}} color="primary" />
+ {isOwn ? (
+
+ ) : null}
+
+
+ )
+}
diff --git a/src/components/BotAccountInfoDialog.tsx b/src/components/BotAccountInfoDialog.tsx
deleted file mode 100644
index 88db5574a1..0000000000
--- a/src/components/BotAccountInfoDialog.tsx
+++ /dev/null
@@ -1,99 +0,0 @@
-import {View} from 'react-native'
-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 {Button, ButtonText} from '#/components/Button'
-import * as Dialog from '#/components/Dialog'
-import {Robot_Filled_Corner2_Rounded as RobotIcon} from '#/components/icons/Robot'
-import * as Prompt from '#/components/Prompt'
-import {Text} from '#/components/Typography'
-import {navigate} from '#/Navigation'
-
-export function BotAccountInfoDialog({
- control,
-}: {
- control: Dialog.DialogControlProps
-}) {
- return (
-
-
-
-
- )
-}
-
-export function BotAccountOwnAlert({
- control,
-}: {
- control: Dialog.DialogControlProps
-}) {
- const {_} = useLingui()
- const t = useTheme()
-
- return (
-
-
-
-
-
-
-
- You have marked this account as automated. You can remove it at any
- time from your account settings.
-
-
-
-
- {}} color="primary" />
-
-
-
- )
-}
-
-function BotAccountInfoDialogInner({
- control,
-}: {
- control: Dialog.DialogControlProps
-}) {
- const {_} = useLingui()
- const t = useTheme()
-
- return (
-
-
-
-
-
-
- This account has been marked as automated by its owner
-
-
-
-
-
- )
-}
diff --git a/src/components/BotBadge.tsx b/src/components/BotBadge.tsx
index 552ab149c3..8d8783e5ec 100644
--- a/src/components/BotBadge.tsx
+++ b/src/components/BotBadge.tsx
@@ -5,10 +5,7 @@ import {useLingui} from '@lingui/react'
import {isBotAccount} from '#/lib/bots'
import {atoms as a, useBreakpoints, useTheme} from '#/alf'
-import {
- BotAccountInfoDialog,
- BotAccountOwnAlert,
-} from '#/components/BotAccountInfoDialog'
+import {BotAccountAlert} from '#/components/BotAccountAlert'
import {Button} from '#/components/Button'
import {useDialogControl} from '#/components/Dialog'
import {Robot_Filled_Corner2_Rounded as RobotIcon} from '#/components/icons/Robot'
@@ -91,11 +88,7 @@ export function BotBadgeButton({
)}
- {isMe ? (
-
- ) : (
-
- )}
+
>
)
}