diff --git a/lib/screens/top_items/top_items.dart b/lib/screens/top_items/top_items.dart index 0aa1894..2978d36 100644 --- a/lib/screens/top_items/top_items.dart +++ b/lib/screens/top_items/top_items.dart @@ -64,22 +64,25 @@ class _TopItemsScreenState extends State { return Scaffold( appBar: AppBar( title: searchActive == true - ? TextFormField( - controller: searchController, - onChanged: search, - decoration: InputDecoration( - hintText: AppLocalizations.of(context)!.search, - hintStyle: const TextStyle( + ? Padding( + padding: const EdgeInsets.only(bottom: 3), + child: TextFormField( + controller: searchController, + onChanged: search, + decoration: InputDecoration( + hintText: AppLocalizations.of(context)!.search, + hintStyle: const TextStyle( + fontWeight: FontWeight.normal, + fontSize: 18 + ), + border: InputBorder.none, + ), + style: const TextStyle( fontWeight: FontWeight.normal, fontSize: 18 ), - border: InputBorder.none, ), - style: const TextStyle( - fontWeight: FontWeight.normal, - fontSize: 18 - ), - ) + ) : Text(widget.title), leading: searchActive == true ? IconButton(