forked from vergnet/application-amicale
Fixed about screen not following package.json version
This commit is contained in:
parent
b9269934a7
commit
f15b489989
1 changed files with 2 additions and 1 deletions
|
@ -5,6 +5,7 @@ import {FlatList, Linking, Platform, View} from 'react-native';
|
||||||
import i18n from "i18n-js";
|
import i18n from "i18n-js";
|
||||||
import AsyncStorageManager from "../../managers/AsyncStorageManager";
|
import AsyncStorageManager from "../../managers/AsyncStorageManager";
|
||||||
import {Avatar, Card, List, Title, withTheme} from 'react-native-paper';
|
import {Avatar, Card, List, Title, withTheme} from 'react-native-paper';
|
||||||
|
import packageJson from "../../../package.json";
|
||||||
|
|
||||||
const links = {
|
const links = {
|
||||||
appstore: 'https://apps.apple.com/us/app/campus-amicale-insat/id1477722148',
|
appstore: 'https://apps.apple.com/us/app/campus-amicale-insat/id1477722148',
|
||||||
|
@ -217,7 +218,7 @@ class AboutScreen extends React.Component<Props, State> {
|
||||||
<Card style={{marginBottom: 10}}>
|
<Card style={{marginBottom: 10}}>
|
||||||
<Card.Title
|
<Card.Title
|
||||||
title={"Campus"}
|
title={"Campus"}
|
||||||
subtitle={"2.0.0"}
|
subtitle={packageJson.version}
|
||||||
left={this.getAppIcon}/>
|
left={this.getAppIcon}/>
|
||||||
<Card.Content>
|
<Card.Content>
|
||||||
<FlatList
|
<FlatList
|
||||||
|
|
Loading…
Reference in a new issue