BlueWallet/screen/settings/releasenotes.js

25 lines
673 B
JavaScript
Raw Normal View History

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