mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-28 19:02:35 +03:00
Use release channel display name for feedback
This commit is contained in:
parent
c9aa4a0e00
commit
a63b4c598c
@ -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();
|
||||||
|
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user