Skip to content

Commit

Permalink
fix: import seed phrase minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
MishkaRogachev committed Sep 28, 2024
1 parent 961c649 commit c364353
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tui/screens/account_import_words.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ impl AppScreen for Screen {
}
}
self.next_button.disabled = self.input.value.is_empty();
return Ok(false);
}

if let Some(()) = self.back_button.handle_event(&event) {
Expand Down Expand Up @@ -163,7 +164,7 @@ impl AppScreen for Screen {

self.bar.render(frame, content_layout[2]);

let label = Paragraph::new(LABEL_TEXT)
let label = Paragraph::new(format!("{} {}", LABEL_TEXT, self.index + 1))
.style(Style::default().fg(Color::Yellow).bold())
.alignment(Alignment::Center);
frame.render_widget(label, content_layout[4]);
Expand Down

0 comments on commit c364353

Please sign in to comment.