diff --git a/crates/recent_projects/src/recent_projects.rs b/crates/recent_projects/src/recent_projects.rs index 8c08120544..7647dc1ed4 100644 --- a/crates/recent_projects/src/recent_projects.rs +++ b/crates/recent_projects/src/recent_projects.rs @@ -541,8 +541,8 @@ impl PickerDelegate for RecentProjectsDelegate { .unzip(); let prefix = match &location { - SerializedWorkspaceLocation::Remote(RemoteConnectionOptions::Wsl(wsl)) => { - Some(SharedString::from(&wsl.distro_name)) + SerializedWorkspaceLocation::Remote(options) => { + Some(SharedString::from(options.display_name())) } _ => None, };