refactor: Renamed KeyEventHandler::with to KeyEventHandler::new to keep with Rust best practices and conventions

This commit is contained in:
Dark-Alex-17 committed 2025-01-18 12:43:25 -07:00
1 parent 5ead5bc3d6
commit fd35106df8
76 files changed
+1161 -1161

No files matched your search

@@ -41,7 +41,7 @@ pub(in crate::handlers::sonarr_handlers) mod utils {
}]);
app.data.sonarr_data = sonarr_data;
$handler::with(DEFAULT_KEYBINDINGS.edit.key, &mut app, $block, None).handle();
$handler::new(DEFAULT_KEYBINDINGS.edit.key, &mut app, $block, None).handle();
assert_eq!(
app.get_current_route(),