From fca9a6e6091a2ceaac90712b7cbefb454f5787d3 Mon Sep 17 00:00:00 2001 From: Elias Nahum Date: Sat, 17 Aug 2019 12:02:07 -0400 Subject: [PATCH] Fix regression close/leave/archive channel redirect to channel screen on Android (#3139) --- app/screens/channel_info/channel_info.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/app/screens/channel_info/channel_info.js b/app/screens/channel_info/channel_info.js index 07d5fc4b1..3938ea493 100644 --- a/app/screens/channel_info/channel_info.js +++ b/app/screens/channel_info/channel_info.js @@ -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(() => {