diff --git a/app/src/main/java/eu/m724/vastapp/activity/dashboard/screen/Dashboard.kt b/app/src/main/java/eu/m724/vastapp/activity/dashboard/screen/Dashboard.kt index 0593842..1a69ee6 100644 --- a/app/src/main/java/eu/m724/vastapp/activity/dashboard/screen/Dashboard.kt +++ b/app/src/main/java/eu/m724/vastapp/activity/dashboard/screen/Dashboard.kt @@ -172,7 +172,7 @@ fun balanceColor(balance: Double, warningThreshold: Double): Color { @Composable fun formatTime(seconds: Int): String { if (seconds <= 0) - return stringResource(id = R.string.time_minutes_short, 0) + return stringResource(id = R.string.time_minutes_short, 0.0) val minutes: Double = seconds / 60.0 if (minutes < 60)