forked from Ivasoft/mattermost-mobile
Android Leaving/Deleting channel redirects to info page of Town Square (#750)
This commit is contained in:
committed by
Harrison Healey
parent
daa193e2ce
commit
e34f82a36a
@@ -6,6 +6,7 @@ import PropTypes from 'prop-types';
|
||||
import {injectIntl, intlShape} from 'react-intl';
|
||||
import {
|
||||
Alert,
|
||||
Platform,
|
||||
ScrollView,
|
||||
StyleSheet,
|
||||
View
|
||||
@@ -67,7 +68,11 @@ class ChannelInfo extends PureComponent {
|
||||
|
||||
close = () => {
|
||||
EventEmitter.emit(General.DEFAULT_CHANNEL, '');
|
||||
this.props.navigator.pop({animated: true});
|
||||
if (Platform.OS === 'android') {
|
||||
this.props.navigator.dismissModal({animated: true});
|
||||
} else {
|
||||
this.props.navigator.pop({animated: true});
|
||||
}
|
||||
};
|
||||
|
||||
goToChannelAddMembers = () => {
|
||||
|
||||
Reference in New Issue
Block a user