Update react-native-vector-icons package to 5.0.0 for FontAwesome 5 (#222)

This commit is contained in:
Akinwale Ariwodola 2018-08-08 17:52:26 +01:00 committed by GitHub
parent 3da896d369
commit 55275e48de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 7 additions and 6 deletions

6
app/package-lock.json generated
View file

@ -5204,9 +5204,9 @@
}
},
"react-native-vector-icons": {
"version": "4.6.0",
"resolved": "https://registry.npmjs.org/react-native-vector-icons/-/react-native-vector-icons-4.6.0.tgz",
"integrity": "sha512-rpfhfPiXCK2PX1nrNhdxSMrEGB/Gw/SvKoPM0G2wAkSoqynnes19K0VYI+Up7DqR1rFIpE4hP2erpT1tNx2tfg==",
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/react-native-vector-icons/-/react-native-vector-icons-5.0.0.tgz",
"integrity": "sha512-3ZmLGhQFk5QeHuttx0tOpghXhpVMGwXzb3pVaW/M8Qj0qkcg7koVyZmoR9vABQuxFC6KbM3l6/WLYZPh2aGfuQ==",
"requires": {
"lodash": "^4.0.0",
"prop-types": "^15.5.10",

View file

@ -11,7 +11,7 @@
"react": "16.2.0",
"react-native": "0.55.3",
"react-native-image-zoom-viewer": "^2.2.5",
"react-native-vector-icons": "^4.5.0",
"react-native-vector-icons": "^5.0.0",
"react-native-video": "2.0.0",
"react-navigation": "^1.5.12",
"react-navigation-redux-helpers": "^1.0.1",

View file

@ -2,7 +2,7 @@ import React from 'react';
import { Text, TouchableOpacity } from 'react-native';
import buttonStyle from '../../styles/button';
import Colors from '../../styles/colors';
import Icon from 'react-native-vector-icons/FontAwesome';
import Icon from 'react-native-vector-icons/FontAwesome5';
export default class Button extends React.PureComponent {
render() {
@ -32,6 +32,7 @@ export default class Button extends React.PureComponent {
if (icon && icon.trim().length > 0) {
textStyles.push(buttonStyle.textWithIcon);
}
if (theme === 'light') {
textStyles.push(buttonStyle.textDark);
} else {

View file

@ -9,7 +9,7 @@ import {
TouchableOpacity
} from 'react-native';
import Video from 'react-native-video';
import Icon from 'react-native-vector-icons/FontAwesome';
import Icon from 'react-native-vector-icons/FontAwesome5';
import FileItemMedia from '../fileItemMedia';
import mediaPlayerStyle from '../../styles/mediaPlayer';

Binary file not shown.

Binary file not shown.

Binary file not shown.