diff --git a/crates/recent_projects/src/recent_projects.rs b/crates/recent_projects/src/recent_projects.rs index 8c081205444fbc13fb1d94c297946261fcab7fb3..7647dc1ed46cb9d87c7f889188f834dcbd3a456a 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, };