mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Add launch-on login option
See [#5244][0]. [0]: https://github.com/signalapp/Signal-Desktop/pull/5244
This commit is contained in:
@@ -36,6 +36,7 @@ const getInitialData = async () => ({
|
||||
countMutedConversations: await window.getCountMutedConversations(),
|
||||
|
||||
spellCheck: await window.getSpellCheck(),
|
||||
autoLaunch: await window.getAutoLaunch(),
|
||||
|
||||
incomingCallNotification: await window.getIncomingCallNotification(),
|
||||
callRingtoneNotification: await window.getCallRingtoneNotification(),
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user