info: fixed metadata search bar style
This commit is contained in:
parent
870aba32ff
commit
40e9439252
3 changed files with 1 additions and 10 deletions
|
@ -42,10 +42,6 @@ class CollectionSearchDelegate {
|
|||
|
||||
CollectionSearchDelegate({@required this.source, this.parentCollection});
|
||||
|
||||
ThemeData appBarTheme(BuildContext context) {
|
||||
return Theme.of(context);
|
||||
}
|
||||
|
||||
Widget buildLeading(BuildContext context) {
|
||||
return Navigator.canPop(context)
|
||||
? IconButton(
|
||||
|
|
|
@ -88,7 +88,7 @@ class _SearchPageState extends State<SearchPage> {
|
|||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final theme = widget.delegate.appBarTheme(context);
|
||||
final theme = Theme.of(context);
|
||||
Widget body;
|
||||
switch (widget.delegate.currentBody) {
|
||||
case SearchBody.suggestions:
|
||||
|
|
|
@ -24,11 +24,6 @@ class InfoSearchDelegate extends SearchDelegate {
|
|||
searchFieldLabel: searchFieldLabel,
|
||||
);
|
||||
|
||||
@override
|
||||
ThemeData appBarTheme(BuildContext context) {
|
||||
return Theme.of(context);
|
||||
}
|
||||
|
||||
@override
|
||||
Widget buildLeading(BuildContext context) {
|
||||
return IconButton(
|
||||
|
|
Loading…
Reference in a new issue