2026-07-11 18:23:01 +07:00
|
|
|
use crate::app::state::rest::AppStateRest;
|
|
|
|
|
use crate::app::state::types::Overlay;
|
|
|
|
|
|
|
|
|
|
pub fn handle_editor_input(state: &mut AppStateRest, text: String) {
|
|
|
|
|
let _ = text;
|
|
|
|
|
state.dirty = true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
pub fn handle_editor_dismiss(state: &mut AppStateRest) {
|
|
|
|
|
state.misc.overlay = Overlay::None;
|
|
|
|
|
state.dirty = true;
|
|
|
|
|
}
|