This commit is contained in:
Leon Bösche
2025-12-16 23:31:42 +01:00
parent 3429a5e0c8
commit 3bd985647c

View File

@@ -387,28 +387,6 @@ class _FileExplorerState extends State<FileExplorer> {
child: _buildTitle(),
),
const SizedBox(height: 16),
Row(
children: [
IconButton(
icon: const Icon(
Icons.arrow_back,
color: AppTheme.primaryText,
),
splashColor: Colors.transparent,
highlightColor: Colors.transparent,
onPressed: () {
context.read<FileBrowserBloc>().add(
LoadDirectory(orgId: 'org1', path: '/'),
);
},
),
const Text(
'Empty Folder',
style: TextStyle(color: AppTheme.primaryText),
),
],
),
const SizedBox(height: 16),
BlocBuilder<PermissionBloc, PermissionState>(
builder: (context, permState) {
if (permState is PermissionLoaded &&
@@ -478,6 +456,28 @@ class _FileExplorerState extends State<FileExplorer> {
return const SizedBox.shrink();
},
),
const SizedBox(height: 16),
Row(
children: [
IconButton(
icon: const Icon(
Icons.arrow_back,
color: AppTheme.primaryText,
),
splashColor: Colors.transparent,
highlightColor: Colors.transparent,
onPressed: () {
context.read<FileBrowserBloc>().add(
LoadDirectory(orgId: 'org1', path: '/'),
);
},
),
const Text(
'Empty Folder',
style: TextStyle(color: AppTheme.primaryText),
),
],
),
],
),
);