mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-11-04 14:03:27 +00:00
Set show-sidebar to true by default.
This commit is contained in:
@@ -36,7 +36,7 @@ class ServerManagerView {
|
|||||||
}
|
}
|
||||||
|
|
||||||
initSidebar() {
|
initSidebar() {
|
||||||
const showSidebar = ConfigUtil.getConfigItem('show-sidebar');
|
const showSidebar = ConfigUtil.getConfigItem('show-sidebar', true);
|
||||||
this.toggleSidebar(showSidebar);
|
this.toggleSidebar(showSidebar);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -126,7 +126,7 @@ class GeneralSection extends BaseComponent {
|
|||||||
this.$silentOptionSettings.appendChild($silentOption);
|
this.$silentOptionSettings.appendChild($silentOption);
|
||||||
|
|
||||||
$silentOption.addEventListener('click', () => {
|
$silentOption.addEventListener('click', () => {
|
||||||
const newValue = !ConfigUtil.getConfigItem('silent');
|
const newValue = !ConfigUtil.getConfigItem('silent', true);
|
||||||
ConfigUtil.setConfigItem('silent', newValue);
|
ConfigUtil.setConfigItem('silent', newValue);
|
||||||
this.initSilentOption();
|
this.initSilentOption();
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user