mirror of
https://github.com/Cyrix126/gupaxx.git
synced 2025-01-03 12:39:35 +00:00
fix: move xvb payout address error to new line
This commit is contained in:
parent
709e778479
commit
8f38428efd
1 changed files with 11 additions and 14 deletions
|
@ -178,21 +178,18 @@ impl crate::disk::state::Xvb {
|
|||
lock!(api).stats_priv.runtime_manual_amount = self.amount;
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
// need to warn the user if no address is set in p2pool tab
|
||||
if !Regexes::addr_ok(address) {
|
||||
debug!("XvB Tab | Rendering warning text");
|
||||
ui.horizontal_wrapped(|ui|{
|
||||
ui.label(RichText::new("You don't have any payout address set in the P2pool Tab ! XvB process needs one to function properly.")
|
||||
.color(ORANGE));
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
// need to warn the user if no address is set in p2pool tab
|
||||
if !Regexes::addr_ok(address) {
|
||||
ui.add_space(width / 16.0);
|
||||
debug!("XvB Tab | Rendering warning text");
|
||||
ui.horizontal_wrapped(|ui|{
|
||||
ui.label(RichText::new("You don't have any payout address set in the P2pool Tab ! XvB process needs one to function properly.")
|
||||
.color(ORANGE));
|
||||
|
||||
});
|
||||
}
|
||||
});
|
||||
// private stats
|
||||
ui.add_space(space_h);
|
||||
// ui.add_enabled_ui(private_stats, |ui| {
|
||||
|
|
Loading…
Reference in a new issue