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(
|
appBar: AppBar(
|
||||||
title: Text(widget.path.isNotEmpty ? widget.path.last : 'Dateien'),
|
title: Text(widget.path.isNotEmpty ? widget.path.last : 'Dateien'),
|
||||||
actions: [
|
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(
|
FilesSortActions(
|
||||||
currentSort: currentSort,
|
currentSort: currentSort,
|
||||||
ascending: currentSortDirection,
|
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(
|
floatingActionButton: FloatingActionButton(
|
||||||
|
|||||||
Reference in New Issue
Block a user