Web:Common:Adding the setColorScheme method.
This commit is contained in:
parent
a65a557525
commit
33914577d8
@ -127,6 +127,8 @@ class SettingsStore {
|
||||
helpLink = null;
|
||||
hotkeyPanelVisible = false;
|
||||
|
||||
colorScheme = 1;
|
||||
|
||||
constructor() {
|
||||
makeAutoObservable(this);
|
||||
}
|
||||
@ -525,6 +527,10 @@ class SettingsStore {
|
||||
setHotkeyPanelVisible = (hotkeyPanelVisible) => {
|
||||
this.hotkeyPanelVisible = hotkeyPanelVisible;
|
||||
};
|
||||
|
||||
setColorScheme = (colorScheme) => {
|
||||
this.colorScheme = colorScheme;
|
||||
};
|
||||
}
|
||||
|
||||
export default SettingsStore;
|
||||
|
Loading…
Reference in New Issue
Block a user