small ui improvements

This commit is contained in:
Fabian Freund
2025-06-25 12:39:16 +02:00
parent 44441684e7
commit 290546c6ed
2 changed files with 9 additions and 2 deletions
@@ -113,7 +113,7 @@ class _TabSheetHeader extends HookConsumerWidget {
// enableIMEPersonalizedLearning: !incognitoEnabled, // enableIMEPersonalizedLearning: !incognitoEnabled,
decoration: InputDecoration( decoration: InputDecoration(
// border: InputBorder.none, // border: InputBorder.none,
prefixIcon: const Icon(MdiIcons.tabSearch), prefixIcon: const Icon(MdiIcons.tabSearch, size: 18),
hintText: 'Search inside tabs...', hintText: 'Search inside tabs...',
floatingLabelBehavior: FloatingLabelBehavior.always, floatingLabelBehavior: FloatingLabelBehavior.always,
suffixIcon: Row( suffixIcon: Row(
@@ -9,7 +9,14 @@ class _BadgeWrapper extends StatelessWidget {
@override @override
Widget build(BuildContext context) { 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;
} }
} }