Ensure methods are public
This commit is contained in:
parent
ad7c94917d
commit
8cdb98300b
2 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue