From c50a850ac986000e8b6d69c71d1df38e08fbb4ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elias=20M=C3=BCller?= Date: Sat, 9 May 2026 23:43:29 +0200 Subject: [PATCH] reordered files app bar actions by moving search icon --- lib/view/pages/files/files.dart | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) 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(