mirror of
https://github.com/0PandaDEV/Qopy.git
synced 2025-04-21 13:14:04 +02:00
removed html format detection
This commit is contained in:
parent
5402e52cc7
commit
9dd8471492
1 changed files with 0 additions and 6 deletions
|
@ -79,12 +79,6 @@ pub fn setup<R: Runtime>(app: &AppHandle<R>) {
|
|||
insert_content_if_not_exists(app.clone(), pool.clone(), "image", base64_image).await;
|
||||
}
|
||||
let _ = app.emit("plugin:clipboard://image-changed", ());
|
||||
} else if available_types.html {
|
||||
println!("Handling HTML change");
|
||||
if let Ok(html) = clipboard.read_html() {
|
||||
insert_content_if_not_exists(app.clone(), pool.clone(), "html", html).await;
|
||||
}
|
||||
let _ = app.emit("plugin:clipboard://html-changed", ());
|
||||
} else if available_types.rtf {
|
||||
println!("Handling RTF change");
|
||||
if let Ok(rtf) = clipboard.read_rtf() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue