Skip to content

Commit

Permalink
Restore from Picture in Picture earlier (#630)
Browse files Browse the repository at this point in the history
  • Loading branch information
defagos authored Nov 15, 2023
1 parent 97ac30a commit 9555da4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Demo/Sources/Router/Router.swift
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ extension Router: PictureInPictureDelegate {
func pictureInPictureRestoreUserInterfaceForStop(with completion: @escaping (Bool) -> Void) {
if let previousPresented, previousPresented != presented {
presented = previousPresented
DispatchQueue.main.asyncAfter(deadline: .now() + 0.4) {
DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) {
completion(true)
}
}
Expand Down

0 comments on commit 9555da4

Please sign in to comment.