fix: Fix types

This commit is contained in:
Myzel394 2023-08-06 18:46:52 +02:00
parent 9a6e85ce75
commit 3f680b2960
No known key found for this signature in database
GPG Key ID: 79CC92F37B3E1A2B

View File

@ -62,7 +62,7 @@ fun RecordingStatus(
val start = service.recordingStart!!
val duration = now.toEpochSecond(ZoneId.systemDefault().rules.getOffset(now)) - start.toEpochSecond(ZoneId.systemDefault().rules.getOffset(start))
val progress = duration / (service.settings.maxDuration / 1000f)
val progress = duration / (service.settings!!.maxDuration / 1000f)
LaunchedEffect(Unit) {
while (true) {