WIP - Add screens to show licence and changelog #9

Closed
Ghost wants to merge 9 commits from (deleted):changelog_and_licence_screens into master
Showing only changes of commit c8d1d25f24 - Show all commits

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