Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
0-don committed Jul 5, 2023
1 parent ee99257 commit f6ea15e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src-tauri/src/commands/clipboard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,6 @@ pub async fn clear_clipboards() -> Result<bool, ()> {
pub async fn type_clipboard() -> Result<bool, ()> {
let clipboard = get_last_clipboard_db().await;

println!("test");

if clipboard.is_ok() {
let r#type = &clipboard.as_ref().unwrap().r#type;

Expand Down
1 change: 0 additions & 1 deletion src/utils/hotkeyRegister.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ export async function registerHotkeys(hotkeys: Hotkey[]) {
const typeHotkey = hotkeys.find((h) => h.event === "type_clipboard");
if (typeHotkey?.status && !(await isRegistered(typeHotkey.shortcut))) {
try {
console.log(typeHotkey.shortcut);
await register(typeHotkey.shortcut, () => invoke("type_clipboard"));
} catch (_) {}
}
Expand Down

0 comments on commit f6ea15e

Please sign in to comment.