From d3e42209821042c702037f6281159bb22c3f9ae0 Mon Sep 17 00:00:00 2001 From: mostafaei2002 Date: Tue, 11 Jun 2024 14:58:24 +0330 Subject: [PATCH] fix: wrong type --- src/app/panels/middle/xvb.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/panels/middle/xvb.rs b/src/app/panels/middle/xvb.rs index 52cb3a1..7998865 100644 --- a/src/app/panels/middle/xvb.rs +++ b/src/app/panels/middle/xvb.rs @@ -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() {