forked from vergnet/application-amicale
Fixed crash on about screen
This commit is contained in:
parent
9e904bc2d5
commit
13b9e8dad0
1 changed files with 2 additions and 3 deletions
|
@ -3,7 +3,6 @@
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
import {FlatList, Linking, Platform, View} from 'react-native';
|
import {FlatList, Linking, Platform, View} from 'react-native';
|
||||||
import i18n from "i18n-js";
|
import i18n from "i18n-js";
|
||||||
import appJson from '../../../app';
|
|
||||||
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';
|
||||||
|
|
||||||
|
@ -224,8 +223,8 @@ class AboutScreen extends React.Component<Props, State> {
|
||||||
return (
|
return (
|
||||||
<Card style={{marginBottom: 10}}>
|
<Card style={{marginBottom: 10}}>
|
||||||
<Card.Title
|
<Card.Title
|
||||||
title={appJson.expo.name}
|
title={"Campus"}
|
||||||
subtitle={appJson.expo.version}
|
subtitle={"2.0.0"}
|
||||||
left={this.getAppIcon}/>
|
left={this.getAppIcon}/>
|
||||||
<Card.Content>
|
<Card.Content>
|
||||||
<FlatList
|
<FlatList
|
||||||
|
|
Loading…
Reference in a new issue