From 9e20afc9daa76397bf62aa19d08d9b955e3a8573 Mon Sep 17 00:00:00 2001 From: daledah Date: Wed, 4 Feb 2026 14:02:46 +0700 Subject: [PATCH 1/2] fix: change button color for one-button modals to grey --- src/components/ConfirmContent.tsx | 2 +- src/components/ConfirmModal.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/ConfirmContent.tsx b/src/components/ConfirmContent.tsx index 3d5af32403028..678ba78265b8e 100644 --- a/src/components/ConfirmContent.tsx +++ b/src/components/ConfirmContent.tsx @@ -111,7 +111,7 @@ function ConfirmContent({ confirmText = '', cancelText = '', prompt = '', - success = true, + success = false, danger = false, shouldDisableConfirmButtonWhenOffline = false, shouldShowCancelButton = false, diff --git a/src/components/ConfirmModal.tsx b/src/components/ConfirmModal.tsx index 02be40520fb3d..5b299d3334fa0 100755 --- a/src/components/ConfirmModal.tsx +++ b/src/components/ConfirmModal.tsx @@ -121,7 +121,7 @@ function ConfirmModal({ confirmText = '', cancelText = '', prompt = '', - success = true, + success = false, danger = false, onCancel = () => {}, onBackdropPress, From bb5044f1223c32a866391cf8ea82a8832d670e0a Mon Sep 17 00:00:00 2001 From: daledah Date: Thu, 5 Feb 2026 14:14:31 +0700 Subject: [PATCH 2/2] fix lint --- src/CONST/index.ts | 3 +++ src/components/ConfirmContent.tsx | 1 + 2 files changed, 4 insertions(+) diff --git a/src/CONST/index.ts b/src/CONST/index.ts index dfa2ef7ab86b0..c3bb7ec2a798b 100755 --- a/src/CONST/index.ts +++ b/src/CONST/index.ts @@ -8134,6 +8134,9 @@ const CONST = { MENU: 'ContextMenu-Menu', EXPLAIN: 'ContextMenu-Explain', }, + CONFIRM_CONTENT: { + CLOSE_BUTTON: 'ConfirmContent-CloseButton', + }, MORE_MENU: { MORE_BUTTON: 'MoreMenu-MoreButton', VIEW_DETAILS: 'MoreMenu-ViewDetails', diff --git a/src/components/ConfirmContent.tsx b/src/components/ConfirmContent.tsx index 678ba78265b8e..60cb7d5e97664 100644 --- a/src/components/ConfirmContent.tsx +++ b/src/components/ConfirmContent.tsx @@ -163,6 +163,7 @@ function ConfirmContent({ onPress={onCancel} role={CONST.ROLE.BUTTON} accessibilityLabel={translate('common.close')} + sentryLabel={CONST.SENTRY_LABEL.CONFIRM_CONTENT.CLOSE_BUTTON} >