Skip to content

Commit aaa467d

Browse files
committed
Screen time error correction [estimated]
1 parent f458d7b commit aaa467d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/app/olauncher/MainViewModel.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ class MainViewModel(application: Application) : AndroidViewModel(application) {
347347
}
348348

349349
val totalTimeInMillis = appUsageStatsHashMap.values.sumOf { it.totalTimeInForegroundMillis }
350-
val viewTimeSpent = appContext.formattedTimeSpent(totalTimeInMillis)
350+
val viewTimeSpent = appContext.formattedTimeSpent((totalTimeInMillis * 1.1).toLong())
351351
screenTimeValue.postValue(viewTimeSpent)
352352
prefs.screenTimeLastUpdated = endTime
353353
}

0 commit comments

Comments
 (0)