From 9c9dcec7370350f1a08f0c37ef0081246ea4beda Mon Sep 17 00:00:00 2001 From: Wes Date: Mon, 13 Jul 2026 14:40:18 -0600 Subject: [PATCH] fix(mobile): mirror app bar title padding when actions are empty FrostedAppBar padded the title on the left when no leading widget was present but never on the right when actions were empty, so full-width titles like the search field touched the screen edge until an action (e.g. the clear button) appeared. Co-authored-by: Brain <21994759fc7a6fa6b965551d35cfd7897d262f2495467f2d78694ddcfa6a5c7e@sprout-oss.stage.blox.sqprod.co> Signed-off-by: Wes --- mobile/lib/shared/widgets/frosted_app_bar.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mobile/lib/shared/widgets/frosted_app_bar.dart b/mobile/lib/shared/widgets/frosted_app_bar.dart index 5d2c3c6dc6..27066ce55e 100644 --- a/mobile/lib/shared/widgets/frosted_app_bar.dart +++ b/mobile/lib/shared/widgets/frosted_app_bar.dart @@ -87,6 +87,9 @@ class FrostedAppBar extends StatelessWidget { left: effectiveLeading != null ? 0 : Grid.gutter - Grid.quarter, + right: actions.isEmpty + ? Grid.gutter - Grid.quarter + : 0, ), child: DefaultTextStyle.merge( style: context.textTheme.titleMedium?.copyWith(