mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-20 10:12:01 +01:00
34 lines
894 B
JavaScript
34 lines
894 B
JavaScript
import React from 'react';
|
|
import { ScrollView, StyleSheet } from 'react-native';
|
|
import { useTheme } from '@react-navigation/native';
|
|
import navigationStyle from '../../components/navigationStyle';
|
|
import { SafeBlueArea, BlueCard, BlueText } from '../../BlueComponents';
|
|
import loc from '../../loc';
|
|
|
|
const ReleaseNotes = () => {
|
|
const notes = require('../../release-notes');
|
|
const { colors } = useTheme();
|
|
const styles = StyleSheet.create({
|
|
root: {
|
|
flex: 1,
|
|
backgroundColor: colors.background,
|
|
},
|
|
});
|
|
|
|
return (
|
|
<SafeBlueArea forceInset={{ horizontal: 'always' }} style={styles.root}>
|
|
<ScrollView>
|
|
<BlueCard>
|
|
<BlueText>{notes}</BlueText>
|
|
</BlueCard>
|
|
</ScrollView>
|
|
</SafeBlueArea>
|
|
);
|
|
};
|
|
|
|
ReleaseNotes.navigationOptions = navigationStyle({
|
|
title: loc.settings.about_release_notes,
|
|
});
|
|
|
|
export default ReleaseNotes;
|