mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
fix: correctly check for local or pre-db-update reaction via RSSI == 0 (#4024)
This commit is contained in:
parent
a4148c952d
commit
0a0e5e7c9f
1 changed files with 1 additions and 1 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue