mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Rename injectables for accuracy
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com> Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
parent
b703b43745
commit
d90b143642
@ -6,8 +6,8 @@ import { getInjectable } from "@ogre-tools/injectable";
|
||||
import trayInjectable from "./tray.injectable";
|
||||
import { onLoadOfApplicationInjectionToken } from "../start-main-application/runnable-tokens/on-load-of-application-injection-token";
|
||||
|
||||
const startTrayInjectable = getInjectable({
|
||||
id: "start-tray",
|
||||
const installTrayInjectable = getInjectable({
|
||||
id: "install-tray",
|
||||
|
||||
instantiate: (di) => {
|
||||
const trayInitializer = di.inject(trayInjectable);
|
||||
@ -22,4 +22,4 @@ const startTrayInjectable = getInjectable({
|
||||
injectionToken: onLoadOfApplicationInjectionToken,
|
||||
});
|
||||
|
||||
export default startTrayInjectable;
|
||||
export default installTrayInjectable;
|
||||
@ -6,8 +6,8 @@ import { getInjectable } from "@ogre-tools/injectable";
|
||||
import trayInjectable from "./tray.injectable";
|
||||
import { beforeQuitOfBackEndInjectionToken } from "../start-main-application/runnable-tokens/before-quit-of-back-end-injection-token";
|
||||
|
||||
const stopTrayInjectable = getInjectable({
|
||||
id: "stop-tray",
|
||||
const uninstallTrayInjectable = getInjectable({
|
||||
id: "uninstall-tray",
|
||||
|
||||
instantiate: (di) => {
|
||||
const trayInitializer = di.inject(trayInjectable);
|
||||
@ -22,4 +22,4 @@ const stopTrayInjectable = getInjectable({
|
||||
injectionToken: beforeQuitOfBackEndInjectionToken,
|
||||
});
|
||||
|
||||
export default stopTrayInjectable;
|
||||
export default uninstallTrayInjectable;
|
||||
Loading…
Reference in New Issue
Block a user