From ef149ac496ad1abab6223026dde6cc876e592a94 Mon Sep 17 00:00:00 2001 From: agent Date: Thu, 29 Oct 2026 01:02:59 -0400 Subject: [PATCH] ui: one door to the saved-wallet catalogue The wallet tab was carrying "Saved wallets" twice: once as a top-bar action (the alpha screen's "Wallets" text link, which I kept when I moved the screen onto OwTopBar) and once in the hero card's header, where the plan puts it. Two controls that do the same thing on one page is how a screen starts to look unfinished. The hero header keeps it; the top bar is a title and nothing else. --- .../siriusdevops/onionwire/ui/WalletScreen.kt | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/android/app/src/main/java/com/siriusdevops/onionwire/ui/WalletScreen.kt b/android/app/src/main/java/com/siriusdevops/onionwire/ui/WalletScreen.kt index 448e8bd..cfd0dee 100644 --- a/android/app/src/main/java/com/siriusdevops/onionwire/ui/WalletScreen.kt +++ b/android/app/src/main/java/com/siriusdevops/onionwire/ui/WalletScreen.kt @@ -214,19 +214,10 @@ fun WalletScreen( contentWindowInsets = WindowInsets(0, 0, 0, 0), containerColor = OwColors.Canvas, topBar = { - OwTopBar( - title = "Wallet", - // The saved-wallet catalogue is its own screen: this one is the - // open wallet, and switching wallets restarts the wallet - // process, so the picker does not belong in this page's scroll. - actions = { - OwButton( - text = "Saved wallets", - variant = OwButtonVariant.Outline, - onClick = onOpenWallets, - ) - }, - ) + // No actions: the catalogue's entry point is in the hero card's + // header, where the plan puts it. A second "Saved wallets" button + // here would be two doors to one screen on the same page. + OwTopBar(title = "Wallet") }, ) { pad -> Column(