Files
ELY-Browser/crates/ely_app/src/shell/notes.rs
T
2026-05-08 06:59:03 -04:00

15 lines
352 B
Rust

use ely_domain::NoteId;
use gpui::Context;
use super::{ElyShell, ShellState};
impl ElyShell {
pub(super) fn remove_note_entry(&mut self, note_id: &NoteId, cx: &mut Context<Self>) {
if let ShellState::Ready(core) = &mut self.state
&& core.remove_note_entry(note_id).is_ok()
{
cx.notify();
}
}
}