This commit is contained in:
Leon Bösche
2025-12-16 22:42:34 +01:00
parent 7293086425
commit 513f5ff9a9

View File

@@ -185,9 +185,7 @@ class _FileExplorerState extends State<FileExplorer> {
curve: Curves.easeInOut,
child: Padding(
padding: const EdgeInsets.only(top: 2),
child: Row(
children: [
IconButton(
child: IconButton(
icon: Icon(
_isSearching ? Icons.close : Icons.search,
color: AppTheme.accentColor,
@@ -215,9 +213,14 @@ class _FileExplorerState extends State<FileExplorer> {
}
},
),
const SizedBox(width: 800),
BlocBuilder<FileBrowserBloc, FileBrowserState>(
),
),
Positioned(
right: 0,
top: 0,
child: Padding(
padding: const EdgeInsets.only(top: 2),
child: BlocBuilder<FileBrowserBloc, FileBrowserState>(
builder: (context, state) {
String currentSort = 'name';
bool isAscending = true;
@@ -291,10 +294,7 @@ class _FileExplorerState extends State<FileExplorer> {
highlightColor: Colors.transparent,
onPressed: () {
context.read<FileBrowserBloc>().add(
ApplySort(
currentSort,
isAscending: !isAscending,
),
ApplySort(currentSort, isAscending: !isAscending),
);
},
),
@@ -302,8 +302,6 @@ class _FileExplorerState extends State<FileExplorer> {
);
},
),
],
),
),
),
if (_showField)