mirror of
https://github.com/Revertron/Alfis
synced 2024-11-07 09:20:31 +00:00
Fixed initial keystore display.
This commit is contained in:
parent
364a969a53
commit
eddb4ffbce
@ -109,6 +109,9 @@ fn run_interface(context: Arc<Mutex<Context>>, miner: Arc<Mutex<Miner>>) {
|
||||
}
|
||||
true
|
||||
});
|
||||
let eval = format!("keystoreChanged('{}', '{}');", c.keystore.get_path(), &c.keystore.get_public().to_string());
|
||||
println!("Evaluating {}", &eval);
|
||||
web_view.eval(&eval.replace("\\", "\\\\")).expect("Error evaluating!");
|
||||
}
|
||||
LoadKey {} => {
|
||||
let result = tfd::open_file_dialog("Open keys file", "", Some((&["*.key"], "*.key")));
|
||||
|
@ -63,8 +63,8 @@
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<label class="label">Key public key</label>
|
||||
<p id="key_public_key">00000050C9516C42946D38EDD6A2DB1279F6E73E9C6D2EA6769A5C2BA3E381D6</p>
|
||||
<label class="label">Public key</label>
|
||||
<p id="key_public_key">Not loaded</p>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
Loading…
Reference in New Issue
Block a user