From 049c7f9c0c505359d090541dd28ecdeccb090622 Mon Sep 17 00:00:00 2001 From: Ilya Laktyushin Date: Fri, 5 Jan 2024 00:33:37 +0400 Subject: [PATCH] Fix build --- .../SelectivePrivacySettingsController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/SettingsUI/Sources/Privacy and Security/SelectivePrivacySettingsController.swift b/submodules/SettingsUI/Sources/Privacy and Security/SelectivePrivacySettingsController.swift index 1f0394522a..f5f440f7a3 100644 --- a/submodules/SettingsUI/Sources/Privacy and Security/SelectivePrivacySettingsController.swift +++ b/submodules/SettingsUI/Sources/Privacy and Security/SelectivePrivacySettingsController.swift @@ -1328,7 +1328,7 @@ func selectivePrivacySettingsController( }) if case .presence = kind { - updated(settings, nil, phoneDiscoveryEnabled, updateGlobalSettingsSignal) + updated(settings, nil, phoneDiscoveryEnabled, updatedGlobalSettings) } else if case .voiceCalls = kind, let dataSaving = callDataSaving, let callP2PSettings = callP2PSettings, let systemIntegrationEnabled = callIntegrationEnabled { updated(settings, (callP2PSettings, VoiceCallSettings(dataSaving: dataSaving, enableSystemIntegration: systemIntegrationEnabled)), phoneDiscoveryEnabled, nil) } else {