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 {FlatList, Linking, Platform, View} from 'react-native';
|
||||
import i18n from "i18n-js";
|
||||
import appJson from '../../../app';
|
||||
import AsyncStorageManager from "../../managers/AsyncStorageManager";
|
||||
import {Avatar, Card, List, Title, withTheme} from 'react-native-paper';
|
||||
|
||||
|
@ -224,8 +223,8 @@ class AboutScreen extends React.Component<Props, State> {
|
|||
return (
|
||||
<Card style={{marginBottom: 10}}>
|
||||
<Card.Title
|
||||
title={appJson.expo.name}
|
||||
subtitle={appJson.expo.version}
|
||||
title={"Campus"}
|
||||
subtitle={"2.0.0"}
|
||||
left={this.getAppIcon}/>
|
||||
<Card.Content>
|
||||
<FlatList
|
||||
|
|
Loading…
Reference in a new issue