This commit is contained in:
Ren Juan 2021-08-17 19:34:08 +00:00
parent d392d72194
commit 833247112a
1 changed files with 15 additions and 3 deletions

View File

@ -6,15 +6,26 @@ import Colors from '../constants/Colors';
import { MonoText } from './StyledText';
import { Text, View } from './Themed';
export default function SettingsScreenInfo() {
export default function ScreenInfo() {
return (
<View style={styles.settingsContainer}>
<Text
style={styles.settingsText}
lightColor="rgba(0,0,0,0.8)"
darkColor="rgba(255,255,255,0.8)">
Toggle km/mi, set CO2/ea
Toggle km/mi, select fuel used, or manually set CO2 per distance
</Text>
</View>
);
}
export function ScreenInfo2() {
return (
<View style={styles.settingsContainer}>
<Text
style={styles.settingsText}
lightColor="rgba(0,0,0,0.8)"
darkColor="rgba(255,255,255,0.8)">
Use Pause if fuel burning portion of trip interrupted
</Text>
</View>
);
@ -23,6 +34,7 @@ export default function SettingsScreenInfo() {
const styles = StyleSheet.create({
settingsContainer: {
marginHorizontal: 50,
marginVertical: 20,
},
settingsText: {
fontSize: 17,