From 26ea0be4c72e5de4437d432663543e04b98a91f0 Mon Sep 17 00:00:00 2001 From: nrobi144 Date: Thu, 5 Mar 2026 13:26:01 +0200 Subject: [PATCH] fix(desktop): simplify settings logout to just a button Co-Authored-By: Claude Opus 4.6 --- .../vitorpamplona/amethyst/desktop/Main.kt | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/desktopApp/src/jvmMain/kotlin/com/vitorpamplona/amethyst/desktop/Main.kt b/desktopApp/src/jvmMain/kotlin/com/vitorpamplona/amethyst/desktop/Main.kt index 562091f57..eb2340c24 100644 --- a/desktopApp/src/jvmMain/kotlin/com/vitorpamplona/amethyst/desktop/Main.kt +++ b/desktopApp/src/jvmMain/kotlin/com/vitorpamplona/amethyst/desktop/Main.kt @@ -947,24 +947,7 @@ fun RelaySettingsScreen( } } - Spacer(Modifier.height(24.dp)) - HorizontalDivider() - Spacer(Modifier.height(24.dp)) - - // Account section - Text( - "Account", - style = MaterialTheme.typography.titleLarge, - color = MaterialTheme.colorScheme.onBackground, - ) - Spacer(Modifier.height(8.dp)) - - Text( - "Logged in as ${account.npub.take(16)}...", - style = MaterialTheme.typography.bodyMedium, - color = MaterialTheme.colorScheme.onSurfaceVariant, - ) - Spacer(Modifier.height(12.dp)) + Spacer(Modifier.height(16.dp)) val logoutScope = rememberCoroutineScope() OutlinedButton(