mirror of
https://github.com/Myzel394/Alibi.git
synced 2025-06-19 07:15:25 +02:00
fix: Properly set on going for notifications
This commit is contained in:
parent
573a70cca8
commit
c6d20c74f2
@ -98,9 +98,9 @@ data class RecorderNotificationHelper(
|
|||||||
|
|
||||||
fun buildRecordingNotification(recordingTime: Long): Notification {
|
fun buildRecordingNotification(recordingTime: Long): Notification {
|
||||||
return createBaseNotification()
|
return createBaseNotification()
|
||||||
.setUsesChronometer(true)
|
.setUsesChronometer(details?.isOngoing ?: true)
|
||||||
.setOngoing(details?.isOngoing ?: true)
|
.setOngoing(details?.isOngoing ?: true)
|
||||||
.setShowWhen(true)
|
.setShowWhen(details?.isOngoing ?: true)
|
||||||
.setWhen(
|
.setWhen(
|
||||||
Date.from(
|
Date.from(
|
||||||
Calendar
|
Calendar
|
||||||
|
Loading…
x
Reference in New Issue
Block a user