mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-07-30 17:48:50 +02:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user