import React from 'react';
import { StyleSheet, TouchableOpacity } from 'react-native';
import { Text, View } from './Themed';
import * as Device from 'expo-device';
import { ver } from '../GT2';
export default function ScreenInfo() {
return (
{'Switch dark: km, light: mi'}
);
}
export function ScreenInfo2() {
return (
{'Pause trip if fuel burning interrupted.\n'}
);
}
export function ScreenInfo4() {
return (
{'set CO2 rate above or \nselect fuel type below\nhigher sensitivity may cause\n spurious motion at rest'}
);
}
export function ScreenInfo5() {
return (
{'set CO2 rate or use fuel type buttons below'}
);
}
export function ScreenInfo3() {
return (
{'Green Travel Calculator v. ' + ver }
expo {Device.osName == 'iOS' ? 'iOS ' : 'android '} version
{'\nNote: accuracy depends on sensitivity setting, your device, and carrier.'}
);
}
const styles = StyleSheet.create({
splashContainer: {
marginHorizontal: 50,
marginVertical: 20,
backgroundColor: 'rgba(0, 0, 0, 0)',
},
settingsContainer: {
marginHorizontal: 50,
marginVertical: 20,
},
sensitive: {
fontWeight: 'bold',
fontSize: 14,
textAlign: 'center',
},
titleText: {
color: 'white',
fontSize: 17,
lineHeight: 24,
textAlign: 'center',
},
switchText: {
fontSize: 10,
lineHeight: 24,
textAlign: 'center',
},
settingsText: {
fontSize: 17,
lineHeight: 24,
textAlign: 'center',
},
tripControlText: {
fontSize: 14,
fontWeight: 'bold',
lineHeight: 24,
textAlign: 'center',
},
versionText: {
color: 'yellow',
fontSize: 10,
textAlign: 'center',
},
cautionText: {
top: 90,
color: 'white',
fontSize: 14,
textAlign: 'center',
},
});