Fixed JS part for Edge.

This commit is contained in:
Revertron
2021-05-07 11:28:24 +02:00
parent 01e97ed7a0
commit 8c2e89da0b
3 changed files with 9 additions and 2 deletions
+1
View File
@@ -180,6 +180,7 @@ fn action_load_key(context: &Arc<Mutex<Context>>, web_view: &mut WebView<()>) {
}
fn action_loaded(context: &Arc<Mutex<Context>>, web_view: &mut WebView<()>) {
info!("Interface loaded");
web_view.eval("showMiningIndicator(false, false);").expect("Error evaluating!");
let handle: Handle<()> = web_view.handle();
let threads = context.lock().unwrap().settings.mining.threads;