Show a non-standard OTA channel notice in the drawer (#11288)
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user