Add licence and changelog screen
This commit is contained in:
parent
c97087efff
commit
c8d1d25f24
1 changed files with 4 additions and 3 deletions
|
@ -101,18 +101,19 @@ class AboutScreen extends React.Component<PropsType> {
|
||||||
const {navigation} = this.props;
|
const {navigation} = this.props;
|
||||||
navigation.navigate('changelog');
|
navigation.navigate('changelog');
|
||||||
},
|
},
|
||||||
icon: 'refresh',
|
icon: 'file-document',
|
||||||
text: i18n.t('screens.about.changelog'),
|
text: i18n.t('screens.about.changelog'),
|
||||||
showChevron: true,
|
showChevron: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
onPressCallback: () => {
|
onPressCallback: () => {
|
||||||
openWebLink(links.license);
|
const {navigation} = this.props;
|
||||||
|
navigation.navigate('licence');
|
||||||
},
|
},
|
||||||
icon: 'file-document',
|
icon: 'file-document',
|
||||||
text: i18n.t('screens.about.license'),
|
text: i18n.t('screens.about.license'),
|
||||||
showChevron: true,
|
showChevron: true,
|
||||||
},
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue