Use release channel display name for feedback

This commit is contained in:
Joseph T. Lyons 2023-12-12 17:29:37 -05:00
parent c9aa4a0e00
commit a63b4c598c
2 changed files with 2 additions and 2 deletions

View File

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

View File

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