This commit is contained in:
2026-05-21 09:39:12 +02:00
parent fc085a8a83
commit 041e90a8f2
15 changed files with 269 additions and 207 deletions

View File

@ -63,8 +63,11 @@ pub fn set_clipboard(content: String) -> bool {
)
}
pub fn delete_entry(content: String) {
let _ = send_request(&IpcRequest::DeleteEntry { content });
pub fn delete_entry(content: String) -> bool {
matches!(
send_request(&IpcRequest::DeleteEntry { content }),
Some(IpcResponse::Ok)
)
}
pub fn update_entry(old_content: String, new_content: String) -> bool {