From 8cdb98300bab2d195ae5f211e9af268577b537f0 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Thu, 30 Jul 2020 08:42:01 -0600 Subject: [PATCH] Ensure methods are public --- src/settings/controllers/SystemFontController.ts | 2 +- src/settings/controllers/UseSystemFontController.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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,