mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 19:56:47 +03:00
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();
|
||||
}
|
||||
|
||||
onChange(level, roomId, newValue) {
|
||||
public onChange(level, roomId, newValue) {
|
||||
// Dispatch font size change so that everything open responds to the change.
|
||||
dis.dispatch<UpdateSystemFontPayload>({
|
||||
action: Action.UpdateSystemFont,
|
||||
|
|
|
@ -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<UpdateSystemFontPayload>({
|
||||
action: Action.UpdateSystemFont,
|
||||
|
|
Loading…
Reference in a new issue