rn-keyboardaware upgrade

This commit is contained in:
feruz 2019-12-12 08:35:57 +02:00
parent aa777e4053
commit 6c40675d79
6 changed files with 19 additions and 14 deletions

View File

@ -60,7 +60,7 @@
"react-native-iap": "3.4.15", "react-native-iap": "3.4.15",
"react-native-image-crop-picker": "^0.25.2", "react-native-image-crop-picker": "^0.25.2",
"react-native-image-zoom-viewer": "^2.2.27", "react-native-image-zoom-viewer": "^2.2.27",
"react-native-keyboard-aware-scroll-view": "^0.8.0", "react-native-keyboard-aware-scroll-view": "^0.9.1",
"react-native-linear-gradient": "^2.4.2", "react-native-linear-gradient": "^2.4.2",
"react-native-modal-dropdown": "^0.7.0", "react-native-modal-dropdown": "^0.7.0",
"react-native-modal-popover": "0.0.12", "react-native-modal-popover": "0.0.12",

View File

@ -40,6 +40,7 @@ const BottomTabBarView = ({
const dispatch = useDispatch(); const dispatch = useDispatch();
useEffect(() => { useEffect(() => {
console.log('updateActiveBottomTab', routes[index].routeName);
dispatch(updateActiveBottomTab(routes[index].routeName)); dispatch(updateActiveBottomTab(routes[index].routeName));
}, [dispatch, index, routes]); }, [dispatch, index, routes]);

View File

@ -1,13 +1,13 @@
export default [ export default [
'English', 'English',
'Deutsch',
'Magyar',
'Bahasa Indonesia', 'Bahasa Indonesia',
'한국어', '한국어',
'Lietuvių',
'Português',
'Русский', 'Русский',
'Türkçe', 'Türkçe',
'Deutsch',
'Magyar',
'Lietuvių',
'Português',
'Fārsi', 'Fārsi',
'Azərbaycanca', 'Azərbaycanca',
'Românește', 'Românește',
@ -16,14 +16,14 @@ export default [
export const VALUE = [ export const VALUE = [
'en-US', 'en-US',
'de-DE',
'hu-HU',
'id-ID', 'id-ID',
'ko-KR', 'ko-KR',
'lt-LT',
'pt-PT',
'ru-RU', 'ru-RU',
'tr-TR', 'tr-TR',
'de-DE',
'hu-HU',
'lt-LT',
'pt-PT',
'fa-IR', 'fa-IR',
'az-AZ', 'az-AZ',
'ro-RO', 'ro-RO',

View File

@ -145,7 +145,11 @@ class LoginScreen extends PureComponent {
<View style={styles.footerButtons}> <View style={styles.footerButtons}>
<TextButton <TextButton
style={styles.cancelButton} style={styles.cancelButton}
onPress={() => navigation.navigate(ROUTES.DRAWER.MAIN)} onPress={() =>
navigation.navigate({
routeName: ROUTES.DRAWER.MAIN,
})
}
text={intl.formatMessage({ text={intl.formatMessage({
id: 'login.cancel', id: 'login.cancel',
})} })}

View File

@ -7634,10 +7634,10 @@ react-native-iphone-x-helper@^1.0.3:
resolved "https://registry.yarnpkg.com/react-native-iphone-x-helper/-/react-native-iphone-x-helper-1.2.1.tgz#645e2ffbbb49e80844bb4cbbe34a126fda1e6772" resolved "https://registry.yarnpkg.com/react-native-iphone-x-helper/-/react-native-iphone-x-helper-1.2.1.tgz#645e2ffbbb49e80844bb4cbbe34a126fda1e6772"
integrity sha512-/VbpIEp8tSNNHIvstuA3Swx610whci1Zpc9mqNkqn14DkMbw+ORviln2u0XyHG1kPvvwTNGZY6QpeFwxYaSdbQ== integrity sha512-/VbpIEp8tSNNHIvstuA3Swx610whci1Zpc9mqNkqn14DkMbw+ORviln2u0XyHG1kPvvwTNGZY6QpeFwxYaSdbQ==
react-native-keyboard-aware-scroll-view@^0.8.0: react-native-keyboard-aware-scroll-view@^0.9.1:
version "0.8.0" version "0.9.1"
resolved "https://registry.yarnpkg.com/react-native-keyboard-aware-scroll-view/-/react-native-keyboard-aware-scroll-view-0.8.0.tgz#00bcaa38c91323913bb7a733059ad2bc4875f88c" resolved "https://registry.yarnpkg.com/react-native-keyboard-aware-scroll-view/-/react-native-keyboard-aware-scroll-view-0.9.1.tgz#9e54b565a5f19b30bed12221d48921781f7630af"
integrity sha512-gPfhgHQI/z7Cc5aeNOEmK0b250QkAeU6V+4oH8EC7mmFneEKn6MAIDjpoiwqt6bV+lFJPABXfx9MtrRmtCeJ/Q== integrity sha512-tBZ8rmjELN0F6t5UBp5CW3NYmZXgVnJSzVCssv/OqG2t6kiB+OUTqxNvUP24K+HARX4H+XaW0aEJSFQkQCv6KA==
dependencies: dependencies:
prop-types "^15.6.2" prop-types "^15.6.2"
react-native-iphone-x-helper "^1.0.3" react-native-iphone-x-helper "^1.0.3"