Skip to content

Commit 9144073

Browse files
small fix
1 parent 3981566 commit 9144073

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/ui/identities/register_dpns_name_screen.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -269,10 +269,12 @@ impl ScreenLike for RegisterDpnsNameScreen {
269269
ui.separator();
270270
ui.add_space(10.0);
271271

272-
let (needed_unlock, just_unlocked) = self.render_wallet_unlock_if_needed(ui);
272+
if self.selected_wallet.is_some() {
273+
let (needed_unlock, just_unlocked) = self.render_wallet_unlock_if_needed(ui);
273274

274-
if needed_unlock && !just_unlocked {
275-
return;
275+
if needed_unlock && !just_unlocked {
276+
return;
277+
}
276278
}
277279

278280
// Input for the name

0 commit comments

Comments
 (0)