Skip to content

Commit

Permalink
clear input
Browse files Browse the repository at this point in the history
  • Loading branch information
hepp3n committed Jun 3, 2024
1 parent 0a23dc4 commit d92eb4d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/pages/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,10 @@ impl Application for Window {
Command::none()
}
Message::EditAppName(flag) => {
if !flag {
self.main_window.new_app_name.clear()
}

self.main_window.edit_appname = flag;
Command::none()
}
Expand Down

0 comments on commit d92eb4d

Please sign in to comment.