diff --git a/package.json b/package.json index f895d56..89741a5 100644 --- a/package.json +++ b/package.json @@ -21,13 +21,12 @@ "dependencies": { "@nartc/react-native-barcode-mask": "^1.1.9", "@react-native-community/async-storage": "^1.9.0", - "@react-native-community/masked-view": "0.1.6", + "@react-native-community/masked-view": "^0.1.10", "@react-native-community/push-notification-ios": "^1.1.1", "@react-native-community/slider": "^2.0.9", - "@react-navigation/bottom-tabs": "^5.1.1", - "@react-navigation/drawer": "^5.1.1", - "@react-navigation/native": "^5.0.9", - "@react-navigation/stack": "^5.1.1", + "@react-navigation/bottom-tabs": "^5.3.2", + "@react-navigation/native": "^5.2.2", + "@react-navigation/stack": "^5.2.17", "i18n-js": "^3.3.0", "react": "~16.9.0", "react-dom": "16.9.0", @@ -45,30 +44,29 @@ "react-native-linear-gradient": "^2.5.6", "react-native-localize": "^1.4.0", "react-native-modalize": "^1.3.6", - "react-native-paper": "^3.8.0", - "react-native-permissions": "^2.1.3", - "react-native-push-notification": "^3.3.0", - "react-native-reanimated": "~1.7.0", + "react-native-paper": "^3.9.0", + "react-native-permissions": "^2.1.4", + "react-native-push-notification": "^3.3.1", + "react-native-reanimated": "^1.8.0", "react-native-render-html": "^4.1.2", "react-native-safe-area-context": "0.7.3", - "react-native-screens": "~2.2.0", + "react-native-screens": "^2.7.0", "react-native-splash-screen": "^3.2.0", "react-native-vector-icons": "^6.6.0", - "react-native-web": "~0.11.7", - "react-native-webview": "8.1.1", + "react-native-webview": "^9.4.0", "react-navigation-collapsible": "^5.5.0", "react-navigation-header-buttons": "^3.0.5" }, "devDependencies": { - "@babel/core": "^7.6.2", - "@babel/runtime": "^7.6.2", - "@react-native-community/eslint-config": "^0.0.5", - "babel-jest": "^24.9.0", + "@babel/core": "^7.9.6", + "@babel/runtime": "^7.9.6", + "@react-native-community/eslint-config": "^1.1.0", + "babel-jest": "^25.5.1", "eslint": "^6.5.1", - "flow-bin": "^0.122.0", - "jest": "^24.9.0", + "flow-bin": "^0.123.0", + "jest": "^25.5.3", "jest-extended": "^0.11.5", - "metro-react-native-babel-preset": "^0.58.0", + "metro-react-native-babel-preset": "^0.59.0", "react-test-renderer": "16.9.0" } } diff --git a/src/components/Home/ActionsDashboardItem.js b/src/components/Home/ActionsDashboardItem.js index 2e6049a..ad501d6 100644 --- a/src/components/Home/ActionsDashboardItem.js +++ b/src/components/Home/ActionsDashboardItem.js @@ -3,14 +3,14 @@ import * as React from 'react'; import {Avatar, Card, List, withTheme} from 'react-native-paper'; import {StyleSheet, View} from "react-native"; -import {DrawerNavigationProp} from "@react-navigation/drawer"; import type {CustomTheme} from "../../managers/ThemeManager"; import i18n from 'i18n-js'; +import {StackNavigationProp} from "@react-navigation/stack"; const ICON_AMICALE = require("../../../assets/amicale.png"); type Props = { - navigation: DrawerNavigationProp, + navigation: StackNavigationProp, theme: CustomTheme, isLoggedIn: boolean, }