From 290546c6ed5b798f6a9b78ad354b7a17755d97ba Mon Sep 17 00:00:00 2001 From: Fabian Freund Date: Wed, 25 Jun 2025 12:39:16 +0200 Subject: [PATCH] small ui improvements --- .../browser/presentation/widgets/sheets/view_tabs.dart | 2 +- app/lib/presentation/widgets/selectable_chips.dart | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/app/lib/features/geckoview/features/browser/presentation/widgets/sheets/view_tabs.dart b/app/lib/features/geckoview/features/browser/presentation/widgets/sheets/view_tabs.dart index c57327dd..e284fcdb 100644 --- a/app/lib/features/geckoview/features/browser/presentation/widgets/sheets/view_tabs.dart +++ b/app/lib/features/geckoview/features/browser/presentation/widgets/sheets/view_tabs.dart @@ -113,7 +113,7 @@ class _TabSheetHeader extends HookConsumerWidget { // enableIMEPersonalizedLearning: !incognitoEnabled, decoration: InputDecoration( // border: InputBorder.none, - prefixIcon: const Icon(MdiIcons.tabSearch), + prefixIcon: const Icon(MdiIcons.tabSearch, size: 18), hintText: 'Search inside tabs...', floatingLabelBehavior: FloatingLabelBehavior.always, suffixIcon: Row( diff --git a/app/lib/presentation/widgets/selectable_chips.dart b/app/lib/presentation/widgets/selectable_chips.dart index 4e614b1e..22c83bca 100644 --- a/app/lib/presentation/widgets/selectable_chips.dart +++ b/app/lib/presentation/widgets/selectable_chips.dart @@ -9,7 +9,14 @@ class _BadgeWrapper extends StatelessWidget { @override Widget build(BuildContext context) { - return count != null ? Badge.count(count: count!, child: child) : child; + return count != null + ? Badge.count( + count: count!, + backgroundColor: Theme.of(context).colorScheme.primaryContainer, + textColor: Theme.of(context).colorScheme.onPrimaryContainer, + child: child, + ) + : child; } }