From bdc495dd6dc86e81a0981728404449b7d01da918 Mon Sep 17 00:00:00 2001 From: Arkadyuti Bandyopadhyay Date: Mon, 1 Feb 2021 22:53:21 +0530 Subject: [PATCH] [FIX] Logout from other locations not prompting confirmation option (#2854) * Fixed logout toast bug for the iOS * Removing callToAction and replacing with confirmationText Co-authored-by: Diego Mello --- app/views/ProfileView/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/ProfileView/index.js b/app/views/ProfileView/index.js index c313c2751..f4faeec1c 100644 --- a/app/views/ProfileView/index.js +++ b/app/views/ProfileView/index.js @@ -437,7 +437,7 @@ class ProfileView extends React.Component { logEvent(events.PROFILE_LOGOUT_OTHER_LOCATIONS); showConfirmationAlert({ message: I18n.t('You_will_be_logged_out_from_other_locations'), - callToAction: I18n.t('Logout'), + confirmationText: I18n.t('Logout'), onPress: async() => { try { await RocketChat.logoutOtherLocations();