ssh remoting: Hide share button while connecting to project (#19885)

Co-Authored-by: Thorsten <thorsten@zed.dev>

Release Notes:

- N/A

Co-authored-by: Thorsten <thorsten@zed.dev>
This commit is contained in:
Bennet Bo Fenner
2024-10-29 12:13:21 +01:00
committed by GitHub
co-authored by Thorsten
parent 84328c303b
commit 6a0bcca9ec
4 changed files with 14 additions and 3 deletions
+1 -1
View File
@@ -4465,7 +4465,7 @@ impl Workspace {
self.modal_layer.read(cx).has_active_modal()
}
pub fn active_modal<V: ManagedView + 'static>(&mut self, cx: &AppContext) -> Option<View<V>> {
pub fn active_modal<V: ManagedView + 'static>(&self, cx: &AppContext) -> Option<View<V>> {
self.modal_layer.read(cx).active_modal()
}