mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-11 07:29:14 +01:00
show track times without padded minutes
Minutes read as the plain value ("4:11", "0:05") and only hours keep the
formatted MM:SS tail, so nothing is zero-padded except the seconds.
This commit is contained in:
@@ -317,7 +317,7 @@ internal fun formatTrackTime(seconds: Long): String {
|
||||
return if (hours > 0) {
|
||||
"%d:%02d:%02d".format(hours, minutes, secs)
|
||||
} else {
|
||||
"%02d:%02d".format(minutes, secs)
|
||||
"%d:%02d".format(minutes, secs)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user