diff --git a/lib/view/pages/files/files.dart b/lib/view/pages/files/files.dart index 54943d2..649427b 100644 --- a/lib/view/pages/files/files.dart +++ b/lib/view/pages/files/files.dart @@ -102,15 +102,6 @@ class _FilesViewState extends State<_FilesView> { appBar: AppBar( title: Text(widget.path.isNotEmpty ? widget.path.last : 'Dateien'), actions: [ - IconButton( - tooltip: 'Suchen', - icon: const Icon(Icons.search), - onPressed: () async { - final delegate = FilesSearchDelegate(pathScope: widget.path); - await showSearch(context: context, delegate: delegate); - delegate.disposeController(); - }, - ), FilesSortActions( currentSort: currentSort, ascending: currentSortDirection, @@ -127,6 +118,15 @@ class _FilesViewState extends State<_FilesView> { }); }, ), + IconButton( + tooltip: 'Suchen', + icon: const Icon(Icons.search), + onPressed: () async { + final delegate = FilesSearchDelegate(pathScope: widget.path); + await showSearch(context: context, delegate: delegate); + delegate.disposeController(); + }, + ), ], ), floatingActionButton: FloatingActionButton(