From 38167f347bcb2485f5877749aa833c9dc96d6f16 Mon Sep 17 00:00:00 2001 From: Pujan Shah Date: Wed, 10 May 2023 13:41:37 +0530 Subject: [PATCH] Revert "Fix: Red dot persists after removing phone number contact method" --- src/pages/settings/Profile/Contacts/NewContactMethodPage.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pages/settings/Profile/Contacts/NewContactMethodPage.js b/src/pages/settings/Profile/Contacts/NewContactMethodPage.js index dc26c83f4ef0..95efc453197e 100644 --- a/src/pages/settings/Profile/Contacts/NewContactMethodPage.js +++ b/src/pages/settings/Profile/Contacts/NewContactMethodPage.js @@ -21,7 +21,6 @@ import ROUTES from '../../../../ROUTES'; import styles from '../../../../styles/styles'; import * as User from '../../../../libs/actions/User'; import * as LoginUtils from '../../../../libs/LoginUtils'; -import * as OptionsListUtils from '../../../../libs/OptionsListUtils'; import CONST from '../../../../CONST'; const propTypes = { @@ -85,7 +84,7 @@ function NewContactMethodPage(props) { return; } - User.addNewContactMethodAndNavigate(OptionsListUtils.addSMSDomainIfPhoneNumber(userLogin), password); + User.addNewContactMethodAndNavigate(userLogin, password); }, [login, props.loginList, password]); return (