Ensure methods are public

This commit is contained in:
Travis Ralston 2020-07-30 08:42:01 -06:00
parent ad7c94917d
commit 8cdb98300b
2 changed files with 2 additions and 2 deletions

View file

@ -25,7 +25,7 @@ export default class SystemFontController extends SettingController {
super(); super();
} }
onChange(level, roomId, newValue) { public onChange(level, roomId, newValue) {
// Dispatch font size change so that everything open responds to the change. // Dispatch font size change so that everything open responds to the change.
dis.dispatch<UpdateSystemFontPayload>({ dis.dispatch<UpdateSystemFontPayload>({
action: Action.UpdateSystemFont, action: Action.UpdateSystemFont,

View file

@ -25,7 +25,7 @@ export default class UseSystemFontController extends SettingController {
super(); super();
} }
onChange(level, roomId, newValue) { public onChange(level, roomId, newValue) {
// Dispatch font size change so that everything open responds to the change. // Dispatch font size change so that everything open responds to the change.
dis.dispatch<UpdateSystemFontPayload>({ dis.dispatch<UpdateSystemFontPayload>({
action: Action.UpdateSystemFont, action: Action.UpdateSystemFont,