BlueWallet/screen/settings/releasenotes.js

25 lines
673 B
JavaScript
Raw Normal View History

2020-07-20 16:38:46 +03:00
import React from 'react';
import { ScrollView } from 'react-native';
2020-12-25 19:09:53 +03:00
import navigationStyle from '../../components/navigationStyle';
import { BlueCard, BlueText } from '../../BlueComponents';
2020-07-20 16:38:46 +03:00
import loc from '../../loc';
import SafeArea from '../../components/SafeArea';
2019-01-30 23:31:20 +00:00
2019-12-25 13:17:14 -06:00
const ReleaseNotes = () => {
const notes = require('../../release-notes');
2019-01-30 23:31:20 +00:00
2020-07-20 16:38:46 +03:00
return (
<SafeArea>
2019-12-25 13:17:14 -06:00
<ScrollView>
<BlueCard>
2020-11-22 03:04:04 -05:00
<BlueText>{notes}</BlueText>
2019-12-25 13:17:14 -06:00
</BlueCard>
</ScrollView>
</SafeArea>
2019-12-25 13:17:14 -06:00
);
};
2019-01-30 23:31:20 +00:00
2021-09-14 01:36:00 -04:00
ReleaseNotes.navigationOptions = navigationStyle({}, opts => ({ ...opts, headerTitle: loc.settings.about_release_notes }));
2019-01-30 23:31:20 +00:00
2019-12-25 13:17:14 -06:00
export default ReleaseNotes;