fix: Properly set on going for notifications

This commit is contained in:
Myzel394 2023-10-24 14:11:56 +02:00
parent 573a70cca8
commit c6d20c74f2
No known key found for this signature in database
GPG Key ID: 50098FCA22080F0F

View File

@ -98,9 +98,9 @@ data class RecorderNotificationHelper(
fun buildRecordingNotification(recordingTime: Long): Notification {
return createBaseNotification()
.setUsesChronometer(true)
.setUsesChronometer(details?.isOngoing ?: true)
.setOngoing(details?.isOngoing ?: true)
.setShowWhen(true)
.setShowWhen(details?.isOngoing ?: true)
.setWhen(
Date.from(
Calendar