Skip to content

Commit

Permalink
Misc bug fixes (#17)
Browse files Browse the repository at this point in the history
misc bug fixes
  • Loading branch information
aspect authored May 14, 2024
1 parent 821471b commit 6318d01
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions core/src/modules/account_create.rs
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ impl ModuleT for AccountCreate {
.with_header(|_ctx,ui| {
ui.label(i18n(i18n("Your private key requires BIP39 passphrase, please enter it now.")));
})
.with_body(|this,_ui| {
.with_body(|this,ui| {
TextEditor::new(
&mut this.context.payment_secret,
&mut this.focus,
Expand All @@ -271,7 +271,8 @@ impl ModuleT for AccountCreate {
this.state = State::CreateAccount;
focus.clear()
}
});
})
.build(ui);
})
.with_footer(|this,ui| {
let enabled = !this.context.payment_secret.is_empty();
Expand Down
2 changes: 1 addition & 1 deletion core/src/modules/overview.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ impl Overview {
);
ui.hyperlink_to_tab(
format!("• {}",i18n("WASM SDK for JavaScript and TypeScript")),
"https://github.com/kaspanet/rusty-kaspa/wasm",
"https://aspectron.org/en/projects/kaspa-wasm.html",
);
ui.hyperlink_to_tab(
format!("• {}",i18n("Rust Wallet SDK")),
Expand Down
2 changes: 1 addition & 1 deletion core/src/primitives/descriptor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pub trait RenderAccountDescriptor {
impl RenderAccountDescriptor for AccountDescriptor {
fn render(&self, ui: &mut Ui) {
grid(ui, &self.account_id, |ui| {
let color = Color32::WHITE;
let color = strong_color();

ui.label(i18n("Account Name"));
ui.colored_label(
Expand Down

0 comments on commit 6318d01

Please sign in to comment.