fix(monitor): Use AAP message time for Last Seen while connected

This commit is contained in:
darken
2026-04-08 19:21:19 +02:00
committed by Matthias Urhahn
parent 87d366bcb7
commit f2bf39bda1
3 changed files with 44 additions and 1 deletions
@@ -64,7 +64,8 @@ data class PodDevice(
val hasDualMicrophone: Boolean get() = ble is HasDualMicrophone
// Signal / timing
val seenLastAt: Instant? get() = ble?.seenLastAt ?: cached?.lastSeenAt
val seenLastAt: Instant?
get() = listOfNotNull(ble?.seenLastAt, aap?.lastMessageAt, cached?.lastSeenAt).maxOrNull()
val seenFirstAt: Instant? get() = ble?.seenFirstAt
val signalQuality: Float
get() {