Loading build.gradle +1 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ buildscript { propMinSdkVersion = 16 propTargetSdkVersion = propCompileSdkVersion propVersionCode = 1 propVersionName = '3.16.16' propVersionName = '3.16.17' kotlin_version = '1.2.31' support_libs = '27.1.0' } Loading commons/src/main/kotlin/com/simplemobiletools/commons/extensions/Context.kt +1 −1 Original line number Diff line number Diff line Loading @@ -415,7 +415,7 @@ fun Context.formatSecondsToTimeString(totalSeconds: Int): String { return result } fun Context.getFormattedMinutes(minutes: Int, showBefore: Boolean = true) = getFormattedSeconds(minutes * 60, showBefore) fun Context.getFormattedMinutes(minutes: Int, showBefore: Boolean = true) = getFormattedSeconds(if (minutes <= 0) minutes else minutes * 60, showBefore) fun Context.getFormattedSeconds(seconds: Int, showBefore: Boolean = true) = when (seconds) { -1 -> getString(R.string.no_reminder) Loading Loading
build.gradle +1 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ buildscript { propMinSdkVersion = 16 propTargetSdkVersion = propCompileSdkVersion propVersionCode = 1 propVersionName = '3.16.16' propVersionName = '3.16.17' kotlin_version = '1.2.31' support_libs = '27.1.0' } Loading
commons/src/main/kotlin/com/simplemobiletools/commons/extensions/Context.kt +1 −1 Original line number Diff line number Diff line Loading @@ -415,7 +415,7 @@ fun Context.formatSecondsToTimeString(totalSeconds: Int): String { return result } fun Context.getFormattedMinutes(minutes: Int, showBefore: Boolean = true) = getFormattedSeconds(minutes * 60, showBefore) fun Context.getFormattedMinutes(minutes: Int, showBefore: Boolean = true) = getFormattedSeconds(if (minutes <= 0) minutes else minutes * 60, showBefore) fun Context.getFormattedSeconds(seconds: Int, showBefore: Boolean = true) = when (seconds) { -1 -> getString(R.string.no_reminder) Loading