diff --git a/src/settings/controllers/SystemFontController.ts b/src/settings/controllers/SystemFontController.ts index 4f591efc17..e31077e4c8 100644 --- a/src/settings/controllers/SystemFontController.ts +++ b/src/settings/controllers/SystemFontController.ts @@ -25,7 +25,7 @@ export default class SystemFontController extends SettingController { super(); } - onChange(level, roomId, newValue) { + public onChange(level, roomId, newValue) { // Dispatch font size change so that everything open responds to the change. dis.dispatch({ action: Action.UpdateSystemFont, diff --git a/src/settings/controllers/UseSystemFontController.ts b/src/settings/controllers/UseSystemFontController.ts index d598b25962..07a80c7d38 100644 --- a/src/settings/controllers/UseSystemFontController.ts +++ b/src/settings/controllers/UseSystemFontController.ts @@ -25,7 +25,7 @@ export default class UseSystemFontController extends SettingController { super(); } - onChange(level, roomId, newValue) { + public onChange(level, roomId, newValue) { // Dispatch font size change so that everything open responds to the change. dis.dispatch({ action: Action.UpdateSystemFont,