Add licence and changelog screen

This commit is contained in:
Gérald L 2020-09-01 15:50:40 +02:00
parent c97087efff
commit c8d1d25f24

View file

@ -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,
}, }
]; ];
/** /**