forked from pisilinux-rs/yali-rs
update
This commit is contained in:
+5
-4
@@ -253,14 +253,15 @@ impl eframe::App for YaliApp {
|
||||
ui.add_space(8.0);
|
||||
ui.label(
|
||||
egui::RichText::new(t!("os_name"))
|
||||
.size(11.0)
|
||||
.strong()
|
||||
.size(16.0)
|
||||
.color(ui::theme::c_text_dim()),
|
||||
);
|
||||
// get desktop environment
|
||||
let desktop = std::env::var("XDG_CURRENT_DESKTOP").unwrap_or_default();
|
||||
ui.label(
|
||||
egui::RichText::new(&format!("{} Desktop", desktop))
|
||||
.size(11.0)
|
||||
.size(14.0)
|
||||
.color(ui::theme::c_text_dim()),
|
||||
);
|
||||
});
|
||||
@@ -290,7 +291,7 @@ impl eframe::App for YaliApp {
|
||||
});
|
||||
} else if i < cur {
|
||||
ui.horizontal(|ui| {
|
||||
ui.colored_label(ui::theme::c_success(), "✓");
|
||||
ui.colored_label(ui::theme::c_success(), "✅");
|
||||
ui.colored_label(ui::theme::c_text_dim(), label);
|
||||
});
|
||||
} else {
|
||||
@@ -309,7 +310,7 @@ impl eframe::App for YaliApp {
|
||||
ui.add_space(12.0);
|
||||
ui.colored_label(
|
||||
egui::Color32::from_rgb(60, 60, 90),
|
||||
"Yali-RS v0.2.0",
|
||||
format!("YALI (v{})", env!("CARGO_PKG_VERSION")),
|
||||
);
|
||||
ui.add_space(6.0);
|
||||
// Tema değiştirme butonu
|
||||
|
||||
Reference in New Issue
Block a user