1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Relocate stuff related to "show about" under behaviours - stuff that are breaking the rules

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
Janne Savolainen 2022-07-08 14:19:49 +03:00
parent 54bce04a9c
commit 0eeca9386f
No known key found for this signature in database
GPG Key ID: 8C6CFB2FFFE8F68A
2 changed files with 3 additions and 1 deletions

View File

@ -101,6 +101,7 @@ import { registerMobX } from "@ogre-tools/injectable-extension-for-mobx";
import electronInjectable from "./utils/resolve-system-proxy/electron.injectable";
import type { HotbarStore } from "../common/hotbars/store";
import focusApplicationInjectable from "./electron-app/features/focus-application.injectable";
import showAboutInjectable from "../behaviours/show-about/main/show-about.injectable";
export function getDiForUnitTesting(opts: { doGeneralOverrides?: boolean } = {}) {
const {
@ -175,6 +176,7 @@ export function getDiForUnitTesting(opts: { doGeneralOverrides?: boolean } = {})
readJsonFileInjectable,
readFileInjectable,
execFileInjectable,
showAboutInjectable,
]);
// TODO: Remove usages of globally exported appEventBus to get rid of this

View File

@ -20,7 +20,7 @@ import navigateToAddClusterInjectable from "../../common/front-end-routing/route
import stopServicesAndExitAppInjectable from "../stop-services-and-exit-app.injectable";
import isMacInjectable from "../../common/vars/is-mac.injectable";
import { computed } from "mobx";
import showAboutInjectable from "./show-about.injectable";
import showAboutInjectable from "../../behaviours/show-about/main/show-about.injectable";
import applicationWindowInjectable from "../start-main-application/lens-window/application-window/application-window.injectable";
import reloadWindowInjectable from "../start-main-application/lens-window/reload-window.injectable";
import showApplicationWindowInjectable from "../start-main-application/lens-window/show-application-window.injectable";