From f273cbc785e997722d2449b899f5e5e9e427a208 Mon Sep 17 00:00:00 2001 From: yustas Date: Wed, 5 Feb 2025 22:53:57 +0200 Subject: [PATCH] Search improvements --- lib/utils/search.dart | 2 +- lib/widgets/search_list.dart | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/utils/search.dart b/lib/utils/search.dart index 2f69dc2..8c6c6c4 100644 --- a/lib/utils/search.dart +++ b/lib/utils/search.dart @@ -82,7 +82,7 @@ Widget SearchHint(BuildContext context, callback) { const SizedBox(height: 20,), Text( searchTry, - style: Theme.of(context).textTheme.headlineLarge!.copyWith( + style: Theme.of(context).textTheme.headlineMedium!.copyWith( color: Theme.of(context).hintColor, ), ), diff --git a/lib/widgets/search_list.dart b/lib/widgets/search_list.dart index afe9c4e..b219171 100644 --- a/lib/widgets/search_list.dart +++ b/lib/widgets/search_list.dart @@ -61,7 +61,10 @@ class SearchList extends StatelessWidget { ), const SizedBox(height: 10,), - Text(results[index].name), + Text( + results[index].name, + style: Theme.of(context).textTheme.titleLarge + ), ], ), ),