diff --git a/packages/neon/neon_files/lib/widgets/browser_view.dart b/packages/neon/neon_files/lib/widgets/browser_view.dart index ab112e6d..1104c27e 100644 --- a/packages/neon/neon_files/lib/widgets/browser_view.dart +++ b/packages/neon/neon_files/lib/widgets/browser_view.dart @@ -123,6 +123,7 @@ class _FilesBrowserViewState extends State { bloc: widget.filesBloc, browserBloc: widget.bloc, details: details, + mode: widget.mode, ); }, isLoading: filesSnapshot.isLoading, diff --git a/packages/neon/neon_files/lib/widgets/file_list_tile.dart b/packages/neon/neon_files/lib/widgets/file_list_tile.dart index cb609d55..85426f9f 100644 --- a/packages/neon/neon_files/lib/widgets/file_list_tile.dart +++ b/packages/neon/neon_files/lib/widgets/file_list_tile.dart @@ -73,7 +73,7 @@ class FileListTile extends StatelessWidget { details: details, bloc: bloc, ), - trailing: !details.hasTask && mode != FilesBrowserMode.noActions + trailing: !details.hasTask && mode == FilesBrowserMode.browser ? FileActions(details: details) : const SizedBox.square( dimension: largeIconSize,