2020-08-28 14:17:37 +02:00
|
|
|
import React from 'react';
|
|
|
|
|
import { View, SafeAreaView, ScrollView } from 'react-native';
|
|
|
|
|
import Library from './components/Library';
|
|
|
|
|
import Cache from './components/Cache';
|
2021-02-11 23:43:21 +01:00
|
|
|
import useDefaultStyles from 'components/Colors';
|
|
|
|
|
import { Header } from 'components/Typography';
|
2020-11-02 22:50:00 +01:00
|
|
|
import { t } from '@localisation';
|
2020-06-16 23:11:05 +02:00
|
|
|
|
|
|
|
|
export default function Settings() {
|
2021-02-11 23:43:21 +01:00
|
|
|
const defaultStyles = useDefaultStyles();
|
|
|
|
|
|
2020-06-16 23:11:05 +02:00
|
|
|
return (
|
|
|
|
|
<ScrollView>
|
|
|
|
|
<SafeAreaView>
|
|
|
|
|
<View style={{ padding: 20 }}>
|
2021-02-11 23:43:21 +01:00
|
|
|
<Header style={defaultStyles.text}>{t('settings')}</Header>
|
2020-08-28 14:17:37 +02:00
|
|
|
<Library />
|
|
|
|
|
<Cache />
|
2020-06-16 23:11:05 +02:00
|
|
|
</View>
|
|
|
|
|
</SafeAreaView>
|
|
|
|
|
</ScrollView>
|
|
|
|
|
);
|
|
|
|
|
}
|