Show a non-standard OTA channel notice in the drawer (#11288)

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Samuel Newman
2026-07-28 16:59:17 +03:00
committed by GitHub
parent 8a6347ad7c
commit de348db116
5 changed files with 120 additions and 10 deletions
+2 -2
View File
@@ -393,7 +393,7 @@ function DevOptions() {
const {mutate: deleteChatDeclarationRecord} = useDeleteActorDeclaration()
const {
tryApplyUpdate,
revertToEmbedded,
restoreDefaultChannel,
isCurrentlyRunningPullRequestDeployment,
currentChannel,
} = useApplyPullRequestOTAUpdate()
@@ -520,7 +520,7 @@ function DevOptions() {
) : null}
{IS_NATIVE && isCurrentlyRunningPullRequestDeployment ? (
<SettingsList.PressableItem
onPress={() => void revertToEmbedded()}
onPress={() => void restoreDefaultChannel()}
label={l`Unapply Pull Request`}>
<SettingsList.ItemText>
<Trans>Unapply Pull Request {currentChannel}</Trans>