Skip to content

Commit

Permalink
Stop navigating for files
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernthedev committed Apr 15, 2024
1 parent bf4a105 commit 21fb402
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/widgets/browser/file_table.dart
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,8 @@ class _DataRowState extends ConsumerState<DataRow> {
focusNode: _focusNode,
// onLongPress: _renameDialog,
onTap: () {
if (!widget.file.isDirectory) return;

ref
.read(fileBrowserProvider.notifier)
.navigateToDirectory(widget.file.path);
Expand Down

0 comments on commit 21fb402

Please sign in to comment.