Remove unsupported auto-launch setting on Linux
This commit is contained in:
parent
58294eed00
commit
8f0731d498
5 changed files with 37 additions and 8 deletions
|
@ -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'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue