Skip to content

Commit

Permalink
refactor: simplify popup (#12)
Browse files Browse the repository at this point in the history
- store the message in the popup rather than in the app state
- make the popup an Option<(PopupMessageWidget, PopupMessageState)>
  rather than having separate error_message and info_message fields
- rename some methods to what they actually do rather than what Action
  they are associated with
  • Loading branch information
joshka authored Feb 9, 2024
1 parent e07766e commit 9b22d12
Show file tree
Hide file tree
Showing 3 changed files with 138 additions and 120 deletions.
108 changes: 57 additions & 51 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9b22d12

Please sign in to comment.