Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 72785a5f authored by tibbi's avatar tibbi
Browse files

show Hours at the duration if it is exactly 3600 seconds

parent 2720210a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@ buildscript {
        propMinSdkVersion = 16
        propTargetSdkVersion = propCompileSdkVersion
        propVersionCode = 1
        propVersionName = '3.17.5'
        propVersionName = '3.17.6'
        kotlin_version = '1.2.31'
        support_libs = '27.1.0'
    }
+1 −1
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@ fun Int.getFormattedDuration(): String {
    val minutes = this % 3600 / 60
    val seconds = this % 60

    if (this > 3600) {
    if (this >= 3600) {
        sb.append(String.format(Locale.getDefault(), "%02d", hours)).append(":")
    }