|
|
@@ -62,6 +62,8 @@ import Foundation
|
|
62
|
62
|
@objc public static func configureProvider(localizedName: String,
|
|
63
|
63
|
ringtoneSound: String?,
|
|
64
|
64
|
iconTemplateImageData: Data?) {
|
|
|
65
|
+ guard enabled else { return }
|
|
|
66
|
+
|
|
65
|
67
|
let configuration = CXProviderConfiguration(localizedName: localizedName)
|
|
66
|
68
|
configuration.iconTemplateImageData = iconTemplateImageData
|
|
67
|
69
|
configuration.maximumCallGroups = 1
|