Web:Common:Adding the setColorScheme method.

This commit is contained in:
Vlada Gazizova 2022-07-13 12:34:53 +03:00
parent a65a557525
commit 33914577d8

View File

@ -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;