This commit is contained in:
Hetmann Wilhelm Iohan
2021-07-15 09:51:59 +03:00
parent bc98d57598
commit 4df0fe705a
4 changed files with 25 additions and 13 deletions

View File

@@ -1,3 +1,17 @@
## [1.7.1] 2021 - 07 - 15
### Updated dependencies
- updated `expo@40.0.0` to `expo@42.0.0`
- updated `expo-asset@8.2.1` to `expo-asset@8.3.2`
- updated `expo-font@8.4.0` to `expo-font@9.2.1`
- updated `react-native@sdk-40.0.1.tar.gz` to `react-native@sdk-42.0.0.tar.gz`
- updated `react-native-gesture-handler@1.8.0` to `react-native-gesture-handler@1.10.2`
- updated `react-native-reanimated@1.13.0` to `react-native-reanimated@2.2.0`
- updated `react-native-safe-area-context@3.1.9` to `react-native-safe-area-context@3.2.0`
- updated `react-native-screens@2.2.0` to `react-native-screens@3.4.0`
### Updated files
- removed deprecated `useSafeArea` from `navigation/Menu.js`
## [1.7.0] 2020 - 11 - 04 ## [1.7.0] 2020 - 11 - 04
### Updated dependencies ### Updated dependencies
- updated `@react-navigation/bottom-tabs@5.06` to `@react-navigation/bottom-tabs@5.5.1` - updated `@react-navigation/bottom-tabs@5.06` to `@react-navigation/bottom-tabs@5.5.1`

View File

@@ -7,7 +7,7 @@
"ios", "ios",
"android" "android"
], ],
"version": "1.7.0", "version": "1.7.1",
"orientation": "portrait", "orientation": "portrait",
"icon": "./assets/icon.png", "icon": "./assets/icon.png",
"splash": { "splash": {

View File

@@ -1,5 +1,4 @@
import React from "react"; import React from "react";
import { useSafeArea } from "react-native-safe-area-context";
import { import {
ScrollView, ScrollView,
StyleSheet, StyleSheet,
@@ -11,7 +10,6 @@ import Images from "../constants/Images";
import { DrawerItem as DrawerCustomItem } from '../components'; import { DrawerItem as DrawerCustomItem } from '../components';
function CustomDrawerContent({ drawerPosition, navigation, profile, focused, state, ...rest }) { function CustomDrawerContent({ drawerPosition, navigation, profile, focused, state, ...rest }) {
const insets = useSafeArea();
const screens = [ const screens = [
"Home", "Home",
"Profile", "Profile",

View File

@@ -1,6 +1,6 @@
{ {
"name": "argon-react-native", "name": "argon-react-native",
"version": "1.7.0", "version": "1.7.1",
"description": "Argon React Native, based on Argon Design System. Coded by Creative Tim", "description": "Argon React Native, based on Argon Design System. Coded by Creative Tim",
"main": "node_modules/expo/AppEntry.js", "main": "node_modules/expo/AppEntry.js",
"scripts": { "scripts": {
@@ -21,19 +21,19 @@
"@react-navigation/native": "5.9.3", "@react-navigation/native": "5.9.3",
"@react-navigation/stack": "5.14.3", "@react-navigation/stack": "5.14.3",
"@use-expo/font": "^2.0.0", "@use-expo/font": "^2.0.0",
"expo": "^40.0.0", "expo": "^42.0.0",
"expo-app-loading": "^1.0.1", "expo-app-loading": "^1.0.1",
"expo-asset": "~8.2.1", "expo-asset": "~8.3.2",
"expo-font": "~8.4.0", "expo-font": "~9.2.1",
"galio-framework": "^0.7.1", "galio-framework": "^0.8.0",
"prop-types": "^15.7.2", "prop-types": "^15.7.2",
"react": "16.13.1", "react": "16.13.1",
"react-native": "https://github.com/expo/react-native/archive/sdk-40.0.1.tar.gz", "react-native": "https://github.com/expo/react-native/archive/sdk-42.0.0.tar.gz",
"react-native-gesture-handler": "~1.8.0", "react-native-gesture-handler": "~1.10.2",
"react-native-modal-dropdown": "git+https://github.com/siemiatj/react-native-modal-dropdown.git", "react-native-modal-dropdown": "git+https://github.com/siemiatj/react-native-modal-dropdown.git",
"react-native-reanimated": "~1.13.0", "react-native-reanimated": "~2.2.0",
"react-native-safe-area-context": "3.1.9", "react-native-safe-area-context": "3.2.0",
"react-native-screens": "~2.15.2" "react-native-screens": "~3.4.0"
}, },
"devDependencies": { "devDependencies": {
"babel-preset-expo": "8.3.0" "babel-preset-expo": "8.3.0"