chore: upgrade deps

This commit is contained in:
Mo
2022-03-21 12:13:10 -05:00
parent bd9a6e2ae5
commit cd243f39c6
21 changed files with 214 additions and 271 deletions

View File

@@ -136,7 +136,7 @@ export class DesktopManager
if (!component) {
return;
}
const updatedComponent = await this.application.changeAndSaveItem(
const updatedComponent = await this.application.mutator.changeAndSaveItem(
component.uuid,
(m) => {
const mutator = m as ComponentMutator;

View File

@@ -48,7 +48,7 @@ export class ThemeManager extends ApplicationService {
const activeTheme = themes.find(
(theme) => theme.active && !theme.isLayerable()
);
if (activeTheme) this.application.toggleTheme(activeTheme);
if (activeTheme) this.application.mutator.toggleTheme(activeTheme);
};
const themeIdentifier = this.application.getPreference(
@@ -62,7 +62,7 @@ export class ThemeManager extends ApplicationService {
(theme) => theme.package_info.identifier === themeIdentifier
);
if (theme && !theme.active) {
this.application.toggleTheme(theme);
this.application.mutator.toggleTheme(theme);
}
}
}
@@ -133,7 +133,7 @@ export class ThemeManager extends ApplicationService {
);
if (status !== FeatureStatus.Entitled) {
if (theme.active) {
this.application.toggleTheme(theme);
this.application.mutator.toggleTheme(theme);
} else {
this.deactivateTheme(theme.uuid);
}