Commit a7096c1f authored by Kateryna Kostiuk's avatar Kateryna Kostiuk Committed by Andreas Traczyk

fix: proximity monitoring

Disable proximity monitoring when call is finished.

Change-Id: I696685921788a18fd085bf786c4524a9f736cefe
Reviewed-by: Andreas Traczyk's avatarAndreas Traczyk <andreas.traczyk@savoirfairelinux.com>
parent 7c6f41c8
......@@ -232,6 +232,7 @@ class CallViewController: UIViewController, StoryboardBased, ViewModelBased {
}
func removeFromScreen() {
UIDevice.current.isProximityMonitoringEnabled = false
self.dismiss(animated: false)
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment