Преглед на файлове

suspend media playback instead of pausing it, if WebxdcViewController gets dismissed

cyberta преди 3 години
родител
ревизия
d7316d5716
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      deltachat-ios/Controller/WebxdcViewController.swift

+ 1 - 1
deltachat-ios/Controller/WebxdcViewController.swift

@@ -182,7 +182,7 @@ class WebxdcViewController: WebViewViewController {
     override func viewDidDisappear(_ animated: Bool) {
         super.viewDidDisappear(animated)
         if #available(iOS 15.0, *) {
-            webView.pauseAllMediaPlayback()
+            webView.setAllMediaPlaybackSuspended(true)
         }
     }