Add reading list removal

This commit is contained in:
2026-05-08 06:29:16 -04:00
parent e13557814d
commit 5db300f107
4 changed files with 69 additions and 2 deletions
+12
View File
@@ -16,4 +16,16 @@ impl ElyShell {
cx.notify();
}
}
pub(super) fn remove_reading_list_entry(
&mut self,
entry_id: &ReadingListId,
cx: &mut Context<Self>,
) {
if let ShellState::Ready(core) = &mut self.state
&& core.remove_reading_list_entry(entry_id).is_ok()
{
cx.notify();
}
}
}