Add launch-on login option

See [#5244][0].

[0]: https://github.com/signalapp/Signal-Desktop/pull/5244
This commit is contained in:
Jacob Kiesel 2021-05-11 15:59:21 -05:00 committed by Evan Hahn
parent b41dab2704
commit 75d54e7737
10 changed files with 44 additions and 2 deletions

View file

@ -152,6 +152,12 @@
window.setSpellCheck(val);
},
});
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'),
@ -259,6 +265,7 @@
spellCheckDirtyText: appStartSpellCheck
? i18n('spellCheckWillBeDisabled')
: i18n('spellCheckWillBeEnabled'),
autoLaunchDescription: i18n('autoLaunchDescription'),
};
},
onClose() {