Stop image zooming and video playback on page swipe
This commit is contained in:
parent
e029b57e0d
commit
809379038f
@ -403,6 +403,7 @@ extension ArticleViewController: UIPageViewControllerDataSource {
|
|||||||
let article = coordinator.findPrevArticle(currentArticle) else {
|
let article = coordinator.findPrevArticle(currentArticle) else {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
webViewController.stopWebViewActivity()
|
||||||
return createWebViewController(article)
|
return createWebViewController(article)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -412,6 +413,7 @@ extension ArticleViewController: UIPageViewControllerDataSource {
|
|||||||
let article = coordinator.findNextArticle(currentArticle) else {
|
let article = coordinator.findNextArticle(currentArticle) else {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
webViewController.stopWebViewActivity()
|
||||||
return createWebViewController(article)
|
return createWebViewController(article)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user