mirror of
https://github.com/Cyrix126/gupaxx.git
synced 2024-12-22 14:49:21 +00:00
feat: change xmrig-proxy tab name to proxy
This commit is contained in:
parent
f98ede91b9
commit
29fd5e234a
1 changed files with 3 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
|||
use egui::TextStyle::{self, Name};
|
||||
use egui::{RichText, SelectableLabel, TopBottomPanel};
|
||||
use egui::TextStyle::Name;
|
||||
use egui::{SelectableLabel, TopBottomPanel};
|
||||
use log::debug;
|
||||
|
||||
use crate::{app::Tab, utils::constants::SPACE};
|
||||
|
@ -63,14 +63,10 @@ impl crate::app::App {
|
|||
self.tab = Tab::Xmrig;
|
||||
}
|
||||
ui.separator();
|
||||
let font_size = ui.text_style_height(&TextStyle::Name("Tab".into())) / 2.5;
|
||||
if ui
|
||||
.add_sized(
|
||||
[width, height],
|
||||
SelectableLabel::new(
|
||||
self.tab == Tab::XmrigProxy,
|
||||
RichText::new("XMRig-Proxy").size(font_size),
|
||||
),
|
||||
SelectableLabel::new(self.tab == Tab::XmrigProxy, "Proxy"),
|
||||
)
|
||||
.clicked()
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue