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:
1 parent
b703b43745
commit
d90b143642
2 files changed
+6
-6
No files matched your search
@@ -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;
|
||||
Reference in new issue
Block a user