Set password as InputField after loading bookmark

This commit is contained in:
ChristianVisintin
2020-12-15 16:17:56 +01:00
parent e7d53a7d00
commit 274c5e309b

View File

@@ -267,6 +267,8 @@ impl AuthActivity {
self.load_bookmark(self.bookmarks_idx);
// Set input form to Auth
self.input_form = InputForm::AuthCredentials;
// Set input field to password (very comfy)
self.selected_field = InputField::Password;
}
KeyCode::Char(ch) => match ch {
'E' | 'e' => {
@@ -348,6 +350,8 @@ impl AuthActivity {
self.load_recent(self.recents_idx);
// Set input form to Auth
self.input_form = InputForm::AuthCredentials;
// Set input field to password (very comfy)
self.selected_field = InputField::Password;
}
KeyCode::Char(ch) => match ch {
'E' | 'e' => {