From 5169bfadf434f2e45aa6899a10898c288945e467 Mon Sep 17 00:00:00 2001 From: amsyarasyiq <82711525+amsyarasyiq@users.noreply.github.com> Date: Tue, 26 Mar 2024 16:45:12 +0800 Subject: [PATCH] [ui] Add Pyoncord notice --- src/core/ui/settings/pages/General.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/core/ui/settings/pages/General.tsx b/src/core/ui/settings/pages/General.tsx index 6aeed02..c134399 100644 --- a/src/core/ui/settings/pages/General.tsx +++ b/src/core/ui/settings/pages/General.tsx @@ -4,6 +4,7 @@ import { getAssetIDByName } from "@lib/api/assets"; import { useProxy } from "@lib/api/storage"; import { getDebugInfo, toggleSafeMode } from "@lib/debug"; import { settings } from "@lib/settings"; +import { HelpMessage } from "@lib/ui/components/discord"; import { Stack, TableRow, TableRowGroup, TableSwitchRow, useNavigation } from "@lib/ui/components/discord/Redesign"; import { DISCORD_SERVER, GITHUB } from "@lib/utils/constants"; import { url } from "@metro/common"; @@ -11,6 +12,11 @@ import { NativeModules, ScrollView } from "react-native"; import About from "./About"; +const PYONCORD_MESSAGE_NOTICE = '\ +Most parts of Bunny are being rewritten, and the project is \ +undergoing a rebranding to Pyoncord. "Bunny" has entered maintenance mode, and support for it will \ +be discontinued soon in favor of Pyoncord. For more details, refer to the #rebrand channel on our Discord server.'; + export default function General() { useProxy(settings); @@ -20,6 +26,7 @@ export default function General() { return ( + {PYONCORD_MESSAGE_NOTICE}