From c631547a04d5e4cfbecd51ee85bfcb8879d4624a Mon Sep 17 00:00:00 2001 From: Janne Savolainen Date: Mon, 9 May 2022 12:51:05 +0300 Subject: [PATCH] Add missing injection token for implementation of tray item Signed-off-by: Janne Savolainen --- .../check-for-updates-tray-item.injectable.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/tray/tray-menu-item/implementations/check-for-updates-tray-item.injectable.ts b/src/main/tray/tray-menu-item/implementations/check-for-updates-tray-item.injectable.ts index 7c0c4e9874..3abf232c33 100644 --- a/src/main/tray/tray-menu-item/implementations/check-for-updates-tray-item.injectable.ts +++ b/src/main/tray/tray-menu-item/implementations/check-for-updates-tray-item.injectable.ts @@ -6,7 +6,8 @@ import { getInjectable } from "@ogre-tools/injectable"; import { computed } from "mobx"; import showApplicationWindowInjectable from "../../../start-main-application/lens-window/show-application-window.injectable"; import checkForUpdatesInjectable from "../../../check-for-updates.injectable"; -import isAutoUpdateEnabledInjectable from "../../../is-auto-update-enabled.injectable"; +import isAutoUpdateEnabledInjectable from "../../../update-app/is-auto-update-enabled.injectable"; +import { trayMenuItemInjectionToken } from "../tray-menu-item-injection-token"; const checkForUpdatesTrayItemInjectable = getInjectable({ id: "check-for-updates-tray-item", @@ -31,6 +32,8 @@ const checkForUpdatesTrayItemInjectable = getInjectable({ }, }; }, + + injectionToken: trayMenuItemInjectionToken, }); export default checkForUpdatesTrayItemInjectable;