From d7ec692d03b2f26d5dcfd1f2ae4d2bfbe8336652 Mon Sep 17 00:00:00 2001 From: 2ro <17595647+2ro@users.noreply.github.com> Date: Wed, 8 Jul 2026 01:40:49 -0400 Subject: [PATCH] pay: remove top-right tap-to-settings avatar from pay page Build157 put GoblinView::avatar_self (a tap-through to Settings) top-right on both the home and pay headers. Per owner request, drop it from the PAY page only; the home header avatar is unchanged. The scan-QR glyph and the rest of the pay layout are left in place. Settings remains reachable from the bottom nav bar (Tab::Me) and the wide-mode sidebar. --- src/gui/views/goblin/mod.rs | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/src/gui/views/goblin/mod.rs b/src/gui/views/goblin/mod.rs index fb36881..e30030a 100644 --- a/src/gui/views/goblin/mod.rs +++ b/src/gui/views/goblin/mod.rs @@ -2009,19 +2009,10 @@ impl GoblinWalletView { .tint(t.text) .fit_to_exact_size(Vec2::splat(40.0)), ); - // Right cluster: scan QR (black, no background) then the profile - // picture at the far right; all three controls about the same size. + // Right cluster: scan-QR glyph (black, no background). The + // tap-to-Settings profile avatar that used to sit at the far right + // was removed per owner request; Settings stays on the nav bar. ui.with_layout(Layout::right_to_left(Align::Center), |ui| { - // The user's own avatar (opens settings). Mode-aware: the flat - // yellow + Grin mark tile only in anonymous mode, otherwise this - // identity's normal gradient/picture. - if self - .avatar_self(ui, wallet, 40.0) - .on_hover_cursor(egui::CursorIcon::PointingHand) - .clicked() - { - self.tab = Tab::Me; - } ui.add_space(12.0); let (rect, resp) = ui.allocate_exact_size(Vec2::splat(44.0), Sense::click()); ui.painter().text(