idle
This commit is contained in:
@@ -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),
|
||||
),
|
||||
],
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user