Remove unsupported auto-launch setting on Linux

This commit is contained in:
Evan Hahn 2021-05-19 15:18:15 -05:00 committed by Scott Nonnenberg
parent 58294eed00
commit 8f0731d498
5 changed files with 37 additions and 8 deletions

View file

@ -152,12 +152,14 @@
window.setSpellCheck(val);
},
});
new CheckboxView({
el: this.$('.auto-launch-setting'),
name: 'auto-launch-setting',
value: window.initialData.autoLaunch,
setFn: window.setAutoLaunch,
});
if (Settings.isAutoLaunchSupported()) {
new CheckboxView({
el: this.$('.auto-launch-setting'),
name: 'auto-launch-setting',
value: window.initialData.autoLaunch,
setFn: window.setAutoLaunch,
});
}
if (Settings.isHideMenuBarSupported()) {
new CheckboxView({
el: this.$('.menu-bar-setting'),
@ -230,6 +232,7 @@
isAudioNotificationSupported: Settings.isAudioNotificationSupported(),
isHideMenuBarSupported: Settings.isHideMenuBarSupported(),
isDrawAttentionSupported: Settings.isDrawAttentionSupported(),
isAutoLaunchSupported: Settings.isAutoLaunchSupported(),
hasSystemTheme: true,
themeLight: i18n('themeLight'),
themeDark: i18n('themeDark'),