[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:
parent
acd5f04314
commit
bdc495dd6d
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue