Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
QuantumExplorer committed Nov 12, 2024
1 parent 3981566 commit 9144073
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/ui/identities/register_dpns_name_screen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -269,10 +269,12 @@ impl ScreenLike for RegisterDpnsNameScreen {
ui.separator();
ui.add_space(10.0);

let (needed_unlock, just_unlocked) = self.render_wallet_unlock_if_needed(ui);
if self.selected_wallet.is_some() {
let (needed_unlock, just_unlocked) = self.render_wallet_unlock_if_needed(ui);

if needed_unlock && !just_unlocked {
return;
if needed_unlock && !just_unlocked {
return;
}
}

// Input for the name
Expand Down

0 comments on commit 9144073

Please sign in to comment.