Skip to content

Commit

Permalink
fix: Reactivity of FileExplorer was not listening for view focus changes
Browse files Browse the repository at this point in the history
  • Loading branch information
marc2332 committed May 5, 2024
1 parent 2a84b23 commit 848a6f5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions src/state/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@ impl RadioChannel<AppState> for Channel {
channels.extend(Channel::AllTabs.derive_channel(app_state));
channels
}
Self::Global => {
vec![self, Self::FileExplorer]
}
_ => vec![self],
}
}
Expand Down

0 comments on commit 848a6f5

Please sign in to comment.