mirror of
https://github.com/Cyrix126/gupaxx.git
synced 2024-12-22 14:49:21 +00:00
fix: wrong type
This commit is contained in:
parent
8ea2462fe5
commit
d3e4220982
1 changed files with 1 additions and 1 deletions
|
@ -196,7 +196,7 @@ impl crate::disk::state::Xvb {
|
|||
).on_hover_text(slider_help_text);
|
||||
|
||||
if ui.add(egui::SelectableLabel::new(self.manual_donation_metric == ManualDonationMetric::Hash, "H/s")).clicked() {
|
||||
self.amount *= 1000;
|
||||
self.amount *= 1000.0;
|
||||
self.manual_donation_metric = ManualDonationMetric::Hash;
|
||||
}
|
||||
if ui.add(egui::SelectableLabel::new(self.manual_donation_metric == ManualDonationMetric::Kilo, "kH/s")).clicked() {
|
||||
|
|
Loading…
Reference in a new issue