From aab52d31c9ce208e613b0d422e22a297fe677ec2 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 22 Jul 2026 20:08:56 +0000 Subject: [PATCH] fix(buzz): make the Agent Console Attest FAB round like the app's other FABs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It was an ExtendedFloatingActionButton (icon + "Attest" label), which Material 3 renders as a rounded-rectangle pill — visually out of step with the circular FloatingActionButton(shape = CircleShape) used by the sibling chat/relay-group/ concord create actions. Switch to the same circular icon FAB, keeping the label as the icon's contentDescription for accessibility. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01J8KBSw6smQRyXLiWHeDsZ8 --- .../ui/screen/loggedIn/buzz/AgentConsoleScreen.kt | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/buzz/AgentConsoleScreen.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/buzz/AgentConsoleScreen.kt index b2335088ce..c77334afbe 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/buzz/AgentConsoleScreen.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/buzz/AgentConsoleScreen.kt @@ -31,9 +31,10 @@ import androidx.compose.foundation.layout.padding import androidx.compose.foundation.layout.size import androidx.compose.foundation.lazy.LazyColumn import androidx.compose.foundation.lazy.items +import androidx.compose.foundation.shape.CircleShape import androidx.compose.material3.Card import androidx.compose.material3.CircularProgressIndicator -import androidx.compose.material3.ExtendedFloatingActionButton +import androidx.compose.material3.FloatingActionButton import androidx.compose.material3.HorizontalDivider import androidx.compose.material3.MaterialTheme import androidx.compose.material3.OutlinedButton @@ -107,11 +108,12 @@ fun AgentConsoleScreen( Scaffold( topBar = { TopBarWithBackButton("Agent Console", nav) }, floatingActionButton = { - ExtendedFloatingActionButton( - text = { Text("Attest") }, - icon = { Icon(symbol = MaterialSymbols.Key, contentDescription = null) }, + FloatingActionButton( onClick = { nav.nav(Route.AgentAttestation) }, - ) + shape = CircleShape, + ) { + Icon(symbol = MaterialSymbols.Key, contentDescription = "Attest") + } }, ) { padding -> Column(modifier = Modifier.padding(padding).fillMaxSize()) {