Skip to content

Commit

Permalink
CI: Fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
Inky-developer committed Oct 13, 2024
1 parent b744253 commit d9df311
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
package com.inky.fitnesscalendar.data.gpx

import kotlinx.serialization.Serializable
import kotlinx.serialization.Transient

@Serializable
data class GpxTrack(val name: String, val type: String, val points: List<GpxTrackPoint>) {
@Transient
val startTime = points.firstOrNull()?.time

@Transient
val endTime = points.lastOrNull()?.time
}

0 comments on commit d9df311

Please sign in to comment.