code cleanup
This commit is contained in:
@@ -161,7 +161,7 @@ where
|
||||
}
|
||||
KeyCode::Esc => {
|
||||
app.current_screen = CurrentScreen::Main;
|
||||
app.new_account = Account::new(0, String::new(), 0.0, AccountType::Cash);
|
||||
app.new_account = Account::new_empty();
|
||||
}
|
||||
_ => {}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user