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