mirror of
https://github.com/hinto-janai/gupax.git
synced 2025-04-16 11:11:58 +00:00
Remove OS indicator on non-windows operating systems due to it being redundant for most users, as users know what operating system they are running otherwise.
This commit is contained in:
parent
de033260e6
commit
53d6ee0e33
1 changed files with 3 additions and 3 deletions
|
@ -1436,12 +1436,12 @@ impl eframe::App for App {
|
|||
#[cfg(target_os = "windows")]
|
||||
if self.admin {
|
||||
ui.add_sized([width, height], Label::new(self.os));
|
||||
ui.separator();
|
||||
} else {
|
||||
ui.add_sized([width, height], Label::new(RichText::new(self.os).color(RED))).on_hover_text(WINDOWS_NOT_ADMIN);
|
||||
ui.separator();
|
||||
}
|
||||
#[cfg(target_family = "unix")]
|
||||
ui.add_sized([width, height], Label::new(self.os));
|
||||
ui.separator();
|
||||
|
||||
// [P2Pool/XMRig] Status
|
||||
use ProcessState::*;
|
||||
match p2pool_state {
|
||||
|
|
Loading…
Reference in a new issue