reordered files app bar actions by moving search icon
This commit is contained in:
@@ -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<void>(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<void>(context: context, delegate: delegate);
|
||||
delegate.disposeController();
|
||||
},
|
||||
),
|
||||
],
|
||||
),
|
||||
floatingActionButton: FloatingActionButton(
|
||||
|
||||
Reference in New Issue
Block a user