moved common to common_mode
This commit is contained in:
@@ -13,7 +13,7 @@ use crate::state::pages::auth::AuthState;
|
||||
use crate::ui::handlers::rat_state::UiStateHandler;
|
||||
use crate::modes::{
|
||||
common::{command_mode},
|
||||
canvas::{edit, read_only, common},
|
||||
canvas::{edit, read_only, common_mode},
|
||||
general::navigation,
|
||||
};
|
||||
use crate::config::binds::key_sequences::KeySequenceTracker;
|
||||
@@ -131,7 +131,7 @@ impl EventHandler {
|
||||
) {
|
||||
match action {
|
||||
"save" | "force_quit" | "save_and_quit" | "revert" => {
|
||||
return common::handle_core_action(
|
||||
return common_mode::handle_core_action(
|
||||
action,
|
||||
form_state,
|
||||
&mut self.auth_state,
|
||||
@@ -193,7 +193,7 @@ impl EventHandler {
|
||||
) {
|
||||
match action {
|
||||
"save" | "force_quit" | "save_and_quit" | "revert" => {
|
||||
return common::handle_core_action(
|
||||
return common_mode::handle_core_action(
|
||||
action,
|
||||
form_state,
|
||||
&mut self.auth_state,
|
||||
|
||||
Reference in New Issue
Block a user