From 6c9f44b99d9d05e617ba53764e8bdcb2f171a141 Mon Sep 17 00:00:00 2001 From: Matthew Chen Date: Mon, 15 May 2017 11:19:27 -0400 Subject: [PATCH] Clean up ahead of PR. // FREEBIE --- Signal/src/call/CallAudioService.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Signal/src/call/CallAudioService.swift b/Signal/src/call/CallAudioService.swift index cf0ebba2f..3bfeb3fba 100644 --- a/Signal/src/call/CallAudioService.swift +++ b/Signal/src/call/CallAudioService.swift @@ -98,11 +98,11 @@ import AVFoundation if call.hasLocalVideo { setAudioSession(category: AVAudioSessionCategoryPlayAndRecord, mode: AVAudioSessionModeVideoChat, - options: [.defaultToSpeaker]) + options: .defaultToSpeaker) } else if call.isSpeakerphoneEnabled { setAudioSession(category: AVAudioSessionCategoryPlayAndRecord, mode: AVAudioSessionModeVoiceChat, - options: [.defaultToSpeaker]) + options: .defaultToSpeaker) } else { setAudioSession(category: AVAudioSessionCategoryPlayAndRecord, mode: AVAudioSessionModeVoiceChat,