CR: typos and doc changes

// FREEBIE
pull/1/head
Michael Kirk 8 years ago
parent 5959cdf070
commit 658b8c3223

@ -124,7 +124,6 @@ protocol CallAudioServiceDelegate: class {
super.init()
// We cannot assert singleton here, because this class gets rebuilt when the user changes relevant call settings
// SwiftSingletons.register(self)
// Configure audio session so we don't prompt user with Record permission until call is connected.

@ -28,7 +28,6 @@ final class CallKitCallManager: NSObject {
super.init()
// We cannot assert singleton here, because this class gets rebuilt when the user changes relevant call settings
// SwiftSingletons.register(self)
}
// MARK: Actions

@ -80,7 +80,6 @@ final class CallKitCallUIAdaptee: NSObject, CallUIAdaptee, CXProviderDelegate {
super.init()
// We cannot assert singleton here, because this class gets rebuilt when the user changes relevant call settings
// SwiftSingletons.register(self)
self.provider.setDelegate(self, queue: nil)
}

@ -116,7 +116,6 @@ extension CallUIAdaptee {
super.init()
// We cannot assert singleton here, because this class gets rebuilt when the user changes relevant call settings
// SwiftSingletons.register(self)
callService.addObserverAndSyncState(observer: self)
}

@ -192,7 +192,7 @@ NSString *const OWSPreferencesKeySystemCallLogEnabled = @"OWSPreferencesKeySyste
// didn't want their calls showing up in the call log, we want to disable call logging
NSNumber *callKitPreference = [self tryGetValueForKey:OWSPreferencesKeyCallKitEnabled];
if (callKitPreference && !callKitPreference.boolValue) {
// user expclitily opted out of callKit, so disable system call logging.
// user explicitly opted out of callKit, so disable system call logging.
return NO;
}
}

Loading…
Cancel
Save