Periphery cleanup (#5893)

This commit is contained in:
Mauro
2026-07-20 11:16:11 +02:00
committed by GitHub
parent 175aca596e
commit 9093631f8b
275 changed files with 381 additions and 2268 deletions
@@ -179,6 +179,7 @@ private struct CallView: UIViewRepresentable {
}
}
// periphery:ignore:parameters userContentController - delegate convention
func userContentController(_ userContentController: WKUserContentController, didReceive message: WKScriptMessage) {
guard let handlerID = CallScreenJavaScriptMessageName(rawValue: message.name) else {
return
@@ -290,10 +291,6 @@ private struct CallView: UIViewRepresentable {
return .success(())
}
func stopPictureInPicture() {
pictureInPictureController?.stopPictureInPicture()
}
nonisolated func pictureInPictureControllerWillStartPictureInPicture(_ pictureInPictureController: AVPictureInPictureController) {
Task { @MainActor in
// We move the view via the delegate so it works when you background the app without calling requestPictureInPicture