From abb57f2a1516684b421a5fd1ba66359a61897d99 Mon Sep 17 00:00:00 2001 From: Michael Kirk Date: Mon, 20 Nov 2017 12:45:19 -0500 Subject: [PATCH] App icon for system call screen On iOS10 there was a default "..." button, but now we need our own. // FREEBIE --- Signal/src/call/Speakerbox/CallKitCallUIAdaptee.swift | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Signal/src/call/Speakerbox/CallKitCallUIAdaptee.swift b/Signal/src/call/Speakerbox/CallKitCallUIAdaptee.swift index 4da941932..528ab0c7e 100644 --- a/Signal/src/call/Speakerbox/CallKitCallUIAdaptee.swift +++ b/Signal/src/call/Speakerbox/CallKitCallUIAdaptee.swift @@ -40,9 +40,8 @@ final class CallKitCallUIAdaptee: NSObject, CallUIAdaptee, CXProviderDelegate { providerConfiguration.supportedHandleTypes = [.phoneNumber, .generic] - if let iconMaskImage = UIImage(named: "IconMask") { - providerConfiguration.iconTemplateImageData = UIImagePNGRepresentation(iconMaskImage) - } + let iconMaskImage = #imageLiteral(resourceName: "logoSignal") + providerConfiguration.iconTemplateImageData = UIImagePNGRepresentation(iconMaskImage) providerConfiguration.ringtoneSound = "r.caf"