[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 <diegolmello@gmail.com>
This commit is contained in:
Arkadyuti Bandyopadhyay 2021-02-01 22:53:21 +05:30 committed by GitHub
parent acd5f04314
commit bdc495dd6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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();