Rebrand to Galaxy, major improvements to Bedrock support, still needs some TLC though
This commit is contained in:
+3
-3
@@ -6,7 +6,7 @@ cfg_if::cfg_if! {
|
||||
}
|
||||
}
|
||||
|
||||
use warpui::{Entity, ModelContext, SingletonEntity};
|
||||
use galaxyui::{Entity, ModelContext, SingletonEntity};
|
||||
|
||||
#[derive(Clone, Copy, Default, PartialEq)]
|
||||
pub struct SystemStats;
|
||||
@@ -37,13 +37,13 @@ impl Entity for SystemStats {
|
||||
impl SingletonEntity for SystemStats {}
|
||||
|
||||
#[cfg(not(target_family = "wasm"))]
|
||||
pub fn long_os_version(ctx: &warpui::AppContext) -> Option<String> {
|
||||
pub fn long_os_version(ctx: &galaxyui::AppContext) -> Option<String> {
|
||||
crate::system::SystemInfo::as_ref(ctx)
|
||||
.long_os_version()
|
||||
.map(ToOwned::to_owned)
|
||||
}
|
||||
|
||||
#[cfg(target_family = "wasm")]
|
||||
pub fn long_os_version(_ctx: &warpui::AppContext) -> Option<String> {
|
||||
pub fn long_os_version(_ctx: &galaxyui::AppContext) -> Option<String> {
|
||||
None
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user