[FIX] Fix broken StatusView on tablet (#2407)
Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>
This commit is contained in:
parent
e69c810a47
commit
8841d17a44
|
@ -19,6 +19,7 @@ import database from '../../lib/database';
|
|||
import { withTheme } from '../../theme';
|
||||
import { getUserSelector } from '../../selectors/login';
|
||||
import SafeAreaView from '../../containers/SafeAreaView';
|
||||
import Navigation from '../../lib/Navigation';
|
||||
|
||||
const Separator = React.memo(({ theme }) => <View style={[styles.separator, { borderColor: themes[theme].separatorColor }]} />);
|
||||
Separator.propTypes = {
|
||||
|
@ -135,8 +136,7 @@ class Sidebar extends Component {
|
|||
|
||||
sidebarNavigate = (route) => {
|
||||
logEvent(events[`SIDEBAR_GO_${ route.replace('StackNavigator', '').replace('View', '').toUpperCase() }`]);
|
||||
const { navigation } = this.props;
|
||||
navigation.navigate(route);
|
||||
Navigation.navigate(route);
|
||||
}
|
||||
|
||||
get currentItemKey() {
|
||||
|
|
Loading…
Reference in New Issue