fix(tor): move shield to bottom of SinglePane sidebar to prevent cutoff

Shield was getting pushed off screen when RelayHealthIndicator ("x s ago")
appeared above it. Moved to very last position (after BunkerHeartbeat)
so it's always visible at the bottom edge.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
nrobi144
2026-04-01 09:29:21 +03:00
parent df401c823b
commit 8a23a1cd65
@@ -160,7 +160,13 @@ fun SinglePaneLayout(
modifier = Modifier.padding(bottom = 4.dp),
)
// Tor status indicator
BunkerHeartbeatIndicator(
signerConnectionState = signerConnectionState,
lastPingTimeSec = lastPingTimeSec,
modifier = Modifier.padding(bottom = 4.dp),
)
// Tor status — always last so it's never pushed off screen
val torState = LocalTorState.current
TorStatusIndicator(
status = torState.status,
@@ -168,12 +174,6 @@ fun SinglePaneLayout(
currentColumnType = DeckColumnType.Settings
navState.clear()
},
modifier = Modifier.padding(bottom = 4.dp),
)
BunkerHeartbeatIndicator(
signerConnectionState = signerConnectionState,
lastPingTimeSec = lastPingTimeSec,
modifier = Modifier.padding(bottom = 12.dp),
)
}