Rename is_local to is_local_or_ssh (#16717)

Release Notes:

- N/A
This commit is contained in:
Conrad Irwin 2024-08-22 21:32:51 -06:00 committed by GitHub
parent 46ecd7d190
commit 0fd5030297
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 84 additions and 85 deletions

View file

@ -2150,7 +2150,7 @@ impl Pane {
let is_remote = self
.workspace
.update(cx, |workspace, cx| {
if workspace.project().read(cx).is_remote() {
if workspace.project().read(cx).is_via_collab() {
workspace.show_error(
&anyhow::anyhow!("Cannot drop files on a remote project"),
cx,