Let the json file use the timestamp name since seconds are fixed.

This commit is contained in:
voussoir 2022-04-03 00:56:04 -07:00
parent b01a900fd3
commit d6a14956e1
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB

View file

@ -167,7 +167,7 @@ object FileHelper {
/* Creates Uri for json track file */
fun getTrackFileUri(context: Context, track: Track): Uri {
val fileName: String = track.id.toString() + Keys.TRACKBOOK_FILE_EXTENSION
val fileName: String = DateTimeHelper.convertToSortableDateString(track.recordingStart) + Keys.TRACKBOOK_FILE_EXTENSION
return File(context.getExternalFilesDir(Keys.FOLDER_TRACKS), fileName).toUri()
}