fix(positioner): pass correct values through IPC (#1858)

* fix(positioner): pass correct values through IPC

followup to https://github.com/tauri-apps/plugins-workspace/pull/1822

* build api & remove packageManager field
This commit is contained in:
Amr Bashir
2024-10-02 08:28:28 -03:00
committed by GitHub
parent 58eab11faf
commit 654a7299c3
31 changed files with 82 additions and 72 deletions
+2 -2
View File
@@ -102,8 +102,8 @@ import {
const action = async (event: TrayIconEvent) => {
// add the handle in the action to update the state
await handleIconState(event);
if ("click" in event) {
const { click } = event;
if (event.type === "Click") {
// note this option requires enabling the `tray-icon`
// feature in the Cargo.toml
await moveWindow(Position.TrayLeft);