diff --git a/app/index.js b/app/index.js index bdc378ae..016be116 100644 --- a/app/index.js +++ b/app/index.js @@ -196,7 +196,8 @@ const ChatsDrawer = createDrawerNavigator({ SettingsStack, AdminPanelStack }, { - contentComponent: Sidebar + contentComponent: Sidebar, + overlayColor: '#00000090' }); const NewMessageStack = createStackNavigator({ diff --git a/package.json b/package.json index 974cfc2f..0287ed5c 100644 --- a/package.json +++ b/package.json @@ -81,7 +81,7 @@ "react-native-video": "^5.0.0", "react-native-webview": "6.8.0", "react-navigation": "^4.0.5", - "react-navigation-drawer": "^2.2.1", + "react-navigation-drawer": "1.4.0", "react-navigation-header-buttons": "3.0.1", "react-navigation-stack": "^1.7.3", "react-redux": "7.1.0", diff --git a/yarn.lock b/yarn.lock index e04a4b05..91c4de9e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8898,6 +8898,13 @@ react-native-swipe-gestures@^1.0.3: resolved "https://registry.yarnpkg.com/react-native-swipe-gestures/-/react-native-swipe-gestures-1.0.3.tgz#4160f8d459627323f3a3d2770af4bcd82fd054f5" integrity sha512-KOouRzPB2fHFjVombsSdRfYo8SFeNVa4Ho4B5il87DuuF26sPNOtb3je+qaT/xVptedOsCzRPJGbWFMsaBApgg== +react-native-tab-view@^1.2.0: + version "1.4.1" + resolved "https://registry.yarnpkg.com/react-native-tab-view/-/react-native-tab-view-1.4.1.tgz#f113cd87485808f0c991abec937f70fa380478b9" + integrity sha512-Bke8KkDcDhvB/z0AS7MnQKMD2p6Kwfc1rSKlMOvg9CC5CnClQ2QEnhPSbwegKDYhUkBI92iH/BYy7hNSm5kbUQ== + dependencies: + prop-types "^15.6.1" + react-native-unimodules@0.5.3: version "0.5.3" resolved "https://registry.yarnpkg.com/react-native-unimodules/-/react-native-unimodules-0.5.3.tgz#24615ae71615d9aa76f128595286ad5fc4709ed2" @@ -8982,10 +8989,12 @@ react-native@0.60.4: stacktrace-parser "^0.1.3" whatwg-fetch "^3.0.0" -react-navigation-drawer@^2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/react-navigation-drawer/-/react-navigation-drawer-2.2.1.tgz#00bc5a9fcd80a519834f2db8a37aba9fc7f99d8b" - integrity sha512-FfGG27CGd2zimBYwICyURNpFkP5ggHNfgYLUnWZDo4FnpmPPFTPeYsEmfKeITD0Mg334CI23CLW8HSCuq5Mszw== +react-navigation-drawer@1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/react-navigation-drawer/-/react-navigation-drawer-1.4.0.tgz#70f3dd83e3da9cd4ea6e2739526502c823d466b9" + integrity sha512-ZyWBozcjB2aZ7vwCALv90cYA2NpDjM+WALaiYRshvPvue8l7cqynePbHK8GhlMGyJDwZqp4MxQmu8u1XAKp3Bw== + dependencies: + react-native-tab-view "^1.2.0" react-navigation-header-buttons@3.0.1: version "3.0.1"