Skip to content

Commit

Permalink
Fix flat file tree toggle not taking effect immediately
Browse files Browse the repository at this point in the history
  • Loading branch information
qu1ck committed Mar 28, 2024
1 parent bb359ea commit ba4d52e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/tables/filetreetable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -498,8 +498,8 @@ function FiletreeContextMenu(props: {

const [flatFileTree, toggleFlatFileTree] = useReducer((value: boolean) => {
value = !value;
refreshFileTree("filetree");
config.values.interface.flatFileTree = value;
refreshFileTree("filetree");
return value;
}, config.values.interface.flatFileTree);

Expand Down

0 comments on commit ba4d52e

Please sign in to comment.