Use release channel display name for feedback (#3615)

Release Notes:

-  N/A
This commit is contained in:
Joseph T. Lyons 2023-12-12 17:50:29 -05:00 committed by GitHub
commit 5f5b86ee24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ impl SystemSpecs {
pub fn new(cx: &AppContext) -> Self {
let platform = cx.platform();
let app_version = ZED_APP_VERSION.or_else(|| platform.app_version().ok());
let release_channel = cx.global::<ReleaseChannel>().dev_name();
let release_channel = cx.global::<ReleaseChannel>().display_name();
let os_name = platform.os_name();
let system = System::new_all();
let memory = system.total_memory();

View File

@ -21,7 +21,7 @@ impl SystemSpecs {
let app_version = ZED_APP_VERSION
.or_else(|| cx.app_metadata().app_version)
.map(|v| v.to_string());
let release_channel = cx.global::<ReleaseChannel>().dev_name();
let release_channel = cx.global::<ReleaseChannel>().display_name();
let os_name = cx.app_metadata().os_name;
let system = System::new_all();
let memory = system.total_memory();