Some improvements
This commit is contained in:
parent
14a2714c1e
commit
c53eefaf6d
19 changed files with 205 additions and 70 deletions
|
@ -38,6 +38,7 @@ installCallback('syncRequest');
|
|||
installSetting('alwaysRelayCalls');
|
||||
installSetting('audioMessage');
|
||||
installSetting('audioNotification');
|
||||
installSetting('autoConvertEmoji');
|
||||
installSetting('autoDownloadUpdate');
|
||||
installSetting('autoLaunch');
|
||||
installSetting('callRingtoneNotification');
|
||||
|
|
|
@ -34,6 +34,7 @@ SettingsWindowProps.onRender(
|
|||
executeMenuRole,
|
||||
getConversationsWithCustomColor,
|
||||
hasAudioNotifications,
|
||||
hasAutoConvertEmoji,
|
||||
hasAutoDownloadUpdate,
|
||||
hasAutoLaunch,
|
||||
hasCallNotifications,
|
||||
|
@ -69,6 +70,7 @@ SettingsWindowProps.onRender(
|
|||
makeSyncRequest,
|
||||
notificationContent,
|
||||
onAudioNotificationsChange,
|
||||
onAutoConvertEmojiChange,
|
||||
onAutoDownloadUpdateChange,
|
||||
onAutoLaunchChange,
|
||||
onCallNotificationsChange,
|
||||
|
@ -135,6 +137,7 @@ SettingsWindowProps.onRender(
|
|||
executeMenuRole={executeMenuRole}
|
||||
getConversationsWithCustomColor={getConversationsWithCustomColor}
|
||||
hasAudioNotifications={hasAudioNotifications}
|
||||
hasAutoConvertEmoji={hasAutoConvertEmoji}
|
||||
hasAutoDownloadUpdate={hasAutoDownloadUpdate}
|
||||
hasAutoLaunch={hasAutoLaunch}
|
||||
hasCallNotifications={hasCallNotifications}
|
||||
|
@ -174,6 +177,7 @@ SettingsWindowProps.onRender(
|
|||
makeSyncRequest={makeSyncRequest}
|
||||
notificationContent={notificationContent}
|
||||
onAudioNotificationsChange={onAudioNotificationsChange}
|
||||
onAutoConvertEmojiChange={onAutoConvertEmojiChange}
|
||||
onAutoDownloadUpdateChange={onAutoDownloadUpdateChange}
|
||||
onAutoLaunchChange={onAutoLaunchChange}
|
||||
onCallNotificationsChange={onCallNotificationsChange}
|
||||
|
|
|
@ -22,6 +22,7 @@ function doneRendering() {
|
|||
|
||||
const settingMessageAudio = createSetting('audioMessage');
|
||||
const settingAudioNotification = createSetting('audioNotification');
|
||||
const settingAutoConvertEmoji = createSetting('autoConvertEmoji');
|
||||
const settingAutoDownloadUpdate = createSetting('autoDownloadUpdate');
|
||||
const settingAutoLaunch = createSetting('autoLaunch');
|
||||
const settingCallRingtoneNotification = createSetting(
|
||||
|
@ -140,6 +141,7 @@ async function renderPreferences() {
|
|||
blockedCount,
|
||||
deviceName,
|
||||
hasAudioNotifications,
|
||||
hasAutoConvertEmoji,
|
||||
hasAutoDownloadUpdate,
|
||||
hasAutoLaunch,
|
||||
hasCallNotifications,
|
||||
|
@ -181,6 +183,7 @@ async function renderPreferences() {
|
|||
blockedCount: settingBlockedCount.getValue(),
|
||||
deviceName: settingDeviceName.getValue(),
|
||||
hasAudioNotifications: settingAudioNotification.getValue(),
|
||||
hasAutoConvertEmoji: settingAutoConvertEmoji.getValue(),
|
||||
hasAutoDownloadUpdate: settingAutoDownloadUpdate.getValue(),
|
||||
hasAutoLaunch: settingAutoLaunch.getValue(),
|
||||
hasCallNotifications: settingCallSystemNotification.getValue(),
|
||||
|
@ -247,6 +250,7 @@ async function renderPreferences() {
|
|||
defaultConversationColor,
|
||||
deviceName,
|
||||
hasAudioNotifications,
|
||||
hasAutoConvertEmoji,
|
||||
hasAutoDownloadUpdate,
|
||||
hasAutoLaunch,
|
||||
hasCallNotifications,
|
||||
|
@ -320,6 +324,9 @@ async function renderPreferences() {
|
|||
onAudioNotificationsChange: attachRenderCallback(
|
||||
settingAudioNotification.setValue
|
||||
),
|
||||
onAutoConvertEmojiChange: attachRenderCallback(
|
||||
settingAutoConvertEmoji.setValue
|
||||
),
|
||||
onAutoDownloadUpdateChange: attachRenderCallback(
|
||||
settingAutoDownloadUpdate.setValue
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue