Skip to content

Commit

Permalink
wip - profile modal, refactor to better handle back-forth cases
Browse files Browse the repository at this point in the history
  • Loading branch information
aprxi committed Aug 20, 2024
1 parent 49a38dd commit fe6d32e
Show file tree
Hide file tree
Showing 2 changed files with 268 additions and 316 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,9 @@ impl ModalWindowTrait for ProfileEditModal {
self.ui_state.cancel_new_profile_creation();
Ok(WindowEvent::Modal(ModalAction::Refresh))
}
NewProfileCreatorAction::Complete(_) => {
Ok(WindowEvent::Modal(ModalAction::WaitForKeyEvent))
}
}
} else {
Ok(WindowEvent::Modal(ModalAction::WaitForKeyEvent))
Expand Down
Loading

0 comments on commit fe6d32e

Please sign in to comment.