From 8a23a1cd65cea40c798cb30cf0e07a7d53d9565c Mon Sep 17 00:00:00 2001 From: nrobi144 Date: Wed, 1 Apr 2026 09:29:21 +0300 Subject: [PATCH] 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) --- .../amethyst/desktop/ui/deck/SinglePaneLayout.kt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/desktopApp/src/jvmMain/kotlin/com/vitorpamplona/amethyst/desktop/ui/deck/SinglePaneLayout.kt b/desktopApp/src/jvmMain/kotlin/com/vitorpamplona/amethyst/desktop/ui/deck/SinglePaneLayout.kt index 0cb20b5d21..5e25996277 100644 --- a/desktopApp/src/jvmMain/kotlin/com/vitorpamplona/amethyst/desktop/ui/deck/SinglePaneLayout.kt +++ b/desktopApp/src/jvmMain/kotlin/com/vitorpamplona/amethyst/desktop/ui/deck/SinglePaneLayout.kt @@ -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), ) }