Some cleanup
This commit is contained in:
@@ -20,6 +20,8 @@ import DataAnalysis from '../data_processing/DataAnalysis';
|
||||
import * as msgpack from 'msgpack-lite';
|
||||
import { timeSince } from '../utility/TimeUtils';
|
||||
import XMLParser from 'react-xml-parser';
|
||||
import i18n from 'i18n-js';
|
||||
|
||||
|
||||
function SessionCard(props) {
|
||||
return (
|
||||
@@ -251,7 +253,7 @@ class LastSessionsView extends React.Component {
|
||||
<StatusBar barStyle="light-content" backgroundColor="rgba(0,0,0,0.4)" translucent={true} />
|
||||
<View style={{ flex: 1 }}>
|
||||
<ImageHeader
|
||||
text="LETZTE SESSIONS"
|
||||
text={ i18n.t('lastSessions').toUpperCase() }
|
||||
navigation={this.props.navigation}
|
||||
image={require("../assets/swimmer.jpg")}
|
||||
/>
|
||||
|
||||
@@ -69,7 +69,7 @@ function ButtonGrid(props) {
|
||||
activeOpacity={0.6}
|
||||
>
|
||||
<MaterialCommIcon name="swim" style={buttonGridStyles.icon}></MaterialCommIcon>
|
||||
<Text style={buttonGridStyles.buttonText}>{ i18n.t('mainMenu_lastSessions').toUpperCase().split(" ").join("\n") }</Text>
|
||||
<Text style={buttonGridStyles.buttonText}>{ i18n.t('lastSessions').toUpperCase().split(" ").join("\n") }</Text>
|
||||
</TouchableOpacity>
|
||||
</View>
|
||||
<View style={buttonGridStyles.columnContainer}>
|
||||
|
||||
Reference in New Issue
Block a user