Enable usernames

This commit is contained in:
Fedor Indutny
2024-02-07 16:34:31 -08:00
committed by GitHub
parent 38da3d3152
commit 43de83f0de
26 changed files with 196 additions and 438 deletions

View File

@@ -83,7 +83,6 @@ const ipcGetAvailableIODevices = createCallback('getAvailableIODevices');
const ipcGetCustomColors = createCallback('getCustomColors');
const ipcIsSyncNotSupported = createCallback('isPrimary');
const ipcMakeSyncRequest = createCallback('syncRequest');
const ipcPNP = createCallback('isPhoneNumberSharingEnabled');
const ipcDeleteAllMyStories = createCallback('deleteAllMyStories');
// ChatColorPicker redux hookups
@@ -161,7 +160,6 @@ async function renderPreferences() {
hasStoriesDisabled,
hasTextFormatting,
hasTypingIndicators,
isPhoneNumberSharingSupported,
lastSyncTime,
notificationContent,
phoneNumber,
@@ -204,7 +202,6 @@ async function renderPreferences() {
hasStoriesDisabled: settingHasStoriesDisabled.getValue(),
hasTextFormatting: settingTextFormatting.getValue(),
hasTypingIndicators: settingTypingIndicators.getValue(),
isPhoneNumberSharingSupported: ipcPNP(),
lastSyncTime: settingLastSyncTime.getValue(),
notificationContent: settingNotificationSetting.getValue(),
phoneNumber: settingPhoneNumber.getValue(),
@@ -312,7 +309,6 @@ async function renderPreferences() {
isAutoLaunchSupported: Settings.isAutoLaunchSupported(OS),
isHideMenuBarSupported: Settings.isHideMenuBarSupported(OS),
isNotificationAttentionSupported: Settings.isDrawAttentionSupported(OS),
isPhoneNumberSharingSupported,
isSyncSupported: !isSyncNotSupported,
isSystemTraySupported: Settings.isSystemTraySupported(
OS,