From 848a6f594a582b59a23c84b71d2141f4f440b561 Mon Sep 17 00:00:00 2001 From: marc2332 Date: Sun, 5 May 2024 20:26:57 +0200 Subject: [PATCH] fix: Reactivity of FileExplorer was not listening for view focus changes --- Cargo.lock | 2 +- src/state/app.rs | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 071c1e2..4e6916c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4842,7 +4842,7 @@ dependencies = [ [[package]] name = "valin" -version = "0.0.3" +version = "0.0.4" dependencies = [ "async-lsp", "async-trait", diff --git a/src/state/app.rs b/src/state/app.rs index 5a425c6..bdc3043 100644 --- a/src/state/app.rs +++ b/src/state/app.rs @@ -119,6 +119,9 @@ impl RadioChannel for Channel { channels.extend(Channel::AllTabs.derive_channel(app_state)); channels } + Self::Global => { + vec![self, Self::FileExplorer] + } _ => vec![self], } }