chore: upgrade deps
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user