From 2b630e9899816e835c7220b9f71b3574d390561c Mon Sep 17 00:00:00 2001 From: Sachin Chavda Date: Wed, 6 Nov 2024 00:17:24 +0530 Subject: [PATCH] close focus notification when clicking backdrop or back button --- src/components/FocusModeNotification.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/FocusModeNotification.tsx b/src/components/FocusModeNotification.tsx index 7b3f567d256b..fe63fb4b487b 100644 --- a/src/components/FocusModeNotification.tsx +++ b/src/components/FocusModeNotification.tsx @@ -24,6 +24,8 @@ function FocusModeNotification() { confirmText={translate('common.buttonConfirm')} onConfirm={User.clearFocusModeNotification} shouldShowCancelButton={false} + onBackdropPress={User.clearFocusModeNotification} + onCancel={User.clearFocusModeNotification} prompt={ {translate('focusModeUpdateModal.prompt')}