fix: correctly check for local or pre-db-update reaction via RSSI == 0 (#4024)

This commit is contained in:
Eugene Selifonov
2025-12-17 16:52:46 +03:00
committed by GitHub
parent a4148c952d
commit 0a0e5e7c9f

View File

@@ -152,7 +152,7 @@ internal fun ReactionDialog(reactions: List<Reaction>, onDismiss: () -> Unit = {
horizontalArrangement = Arrangement.SpaceBetween,
verticalAlignment = Alignment.CenterVertically,
) {
val isLocalOrPreDbUpdateReaction = (reaction.snr == 0.0f)
val isLocalOrPreDbUpdateReaction = (reaction.rssi == 0)
if (!isLocalOrPreDbUpdateReaction) {
if (reaction.hopsAway == 0) {
Row(horizontalArrangement = Arrangement.spacedBy(8.dp)) {