mirror of https://github.com/vector-im/riot-web
Ensure methods are public
parent
ad7c94917d
commit
8cdb98300b
|
@ -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 New Issue