Fix regression close/leave/archive channel redirect to channel screen on Android (#3139)
This commit is contained in:
parent
ef8813f115
commit
fca9a6e609
1 changed files with 2 additions and 6 deletions
|
|
@ -6,7 +6,6 @@ import PropTypes from 'prop-types';
|
|||
import {intlShape} from 'react-intl';
|
||||
import {
|
||||
Alert,
|
||||
Platform,
|
||||
ScrollView,
|
||||
View,
|
||||
} from 'react-native';
|
||||
|
|
@ -120,11 +119,8 @@ export default class ChannelInfo extends PureComponent {
|
|||
if (redirect) {
|
||||
actions.setChannelDisplayName('');
|
||||
}
|
||||
if (Platform.OS === 'android') {
|
||||
actions.dismissModal();
|
||||
} else {
|
||||
actions.popTopScreen();
|
||||
}
|
||||
|
||||
actions.popTopScreen();
|
||||
};
|
||||
|
||||
goToChannelAddMembers = preventDoubleTap(() => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue