Эх сурвалжийг харах

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

cyberta 3 жил өмнө
parent
commit
d7316d5716

+ 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)
         }
     }