mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2025-12-24 00:07:48 -05:00
fix: correctly check for local or pre-db-update reaction via RSSI == 0 (#4024)
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user