From b19b9b2232c3c0049539ddcfb19122e9f1caf0d9 Mon Sep 17 00:00:00 2001 From: Fabian Freund Date: Sun, 1 Feb 2026 09:25:20 +0100 Subject: [PATCH] correctly show progress bar according to toolbar position --- .../browser/presentation/screens/browser.dart | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/app/lib/features/geckoview/features/browser/presentation/screens/browser.dart b/app/lib/features/geckoview/features/browser/presentation/screens/browser.dart index 4a49eb34..812479e0 100644 --- a/app/lib/features/geckoview/features/browser/presentation/screens/browser.dart +++ b/app/lib/features/geckoview/features/browser/presentation/screens/browser.dart @@ -522,7 +522,16 @@ class BrowserScreen extends HookConsumerWidget { curve: Curves.easeInOutQuart, left: 0, right: 0, - bottom: bottomToolbarVisible ? bottomAppBarTotalHeight : 0, + top: tabBarPosition == TabBarPosition.top && topToolbarVisible + ? topAppBarTotalHeight + : null, + bottom: + tabBarPosition == TabBarPosition.bottom && + bottomToolbarVisible + ? bottomAppBarTotalHeight + : tabBarPosition == TabBarPosition.bottom + ? 0 + : null, child: Consumer( builder: (context, ref, child) { final value = ref.watch(