From bb72cd7b8cdc4f821c8804df7841f0a03dd7cadc Mon Sep 17 00:00:00 2001 From: James Rich <2199651+jamesarich@users.noreply.github.com> Date: Wed, 8 Oct 2025 11:19:08 -0500 Subject: [PATCH] feat(node): Always show exchange position action (#3400) Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com> --- .../feature/node/component/PositionSection.kt | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/feature/node/src/main/kotlin/org/meshtastic/feature/node/component/PositionSection.kt b/feature/node/src/main/kotlin/org/meshtastic/feature/node/component/PositionSection.kt index 58591076b..0e05963aa 100644 --- a/feature/node/src/main/kotlin/org/meshtastic/feature/node/component/PositionSection.kt +++ b/feature/node/src/main/kotlin/org/meshtastic/feature/node/component/PositionSection.kt @@ -41,7 +41,6 @@ import org.meshtastic.core.ui.component.TitledCard import org.meshtastic.feature.node.model.LogsType import org.meshtastic.feature.node.model.MetricsState import org.meshtastic.feature.node.model.NodeDetailAction -import org.meshtastic.feature.node.model.isEffectivelyUnmessageable /** * Displays node position details, last update time, distance, and related actions like requesting position and @@ -91,14 +90,12 @@ fun PositionSection( } // Exchange position action - if (!node.isEffectivelyUnmessageable) { - SettingsItem( - text = stringResource(id = R.string.exchange_position), - leadingIcon = Icons.Default.LocationOn, - trailingContent = {}, - onClick = { onAction(NodeDetailAction.HandleNodeMenuAction(NodeMenuAction.RequestPosition(node))) }, - ) - } + SettingsItem( + text = stringResource(id = R.string.exchange_position), + leadingIcon = Icons.Default.LocationOn, + trailingContent = {}, + onClick = { onAction(NodeDetailAction.HandleNodeMenuAction(NodeMenuAction.RequestPosition(node))) }, + ) // Node Map log if (availableLogs.contains(LogsType.NODE_MAP)) {