|
|
|
@ -10,7 +10,6 @@ export default function Lap(props: { navigation: any, route : any}) {
|
|
|
|
|
const { session } = props.route.params;
|
|
|
|
|
const { navigation } = props;
|
|
|
|
|
|
|
|
|
|
// const laps: LapModel[] = session.getLaps();
|
|
|
|
|
const laps: LapModel[] = session.getLaps().sort((lap1 : LapModel, lap2 : LapModel) => lap1.getNumber() - lap2.getNumber());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -124,10 +123,6 @@ export default function Lap(props: { navigation: any, route : any}) {
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// TROUBLE SHOOTING BORDER :
|
|
|
|
|
//borderColor:'red',
|
|
|
|
|
//borderWidth:3,
|
|
|
|
|
|
|
|
|
|
const styles = StyleSheet.create({
|
|
|
|
|
disabled: {
|
|
|
|
|
opacity: 0.5,
|
|
|
|
|