Forráskód Böngészése

Update NCViewerMediaPage.swift

Marino Faggiana 1 éve
szülő
commit
b746b3efd4
1 módosított fájl, 0 hozzáadás és 14 törlés
  1. 0 14
      iOSClient/Viewer/NCViewerMedia/NCViewerMediaPage.swift

+ 0 - 14
iOSClient/Viewer/NCViewerMedia/NCViewerMediaPage.swift

@@ -541,20 +541,6 @@ extension NCViewerMediaPage: UIPageViewControllerDelegate, UIPageViewControllerD
         let viewerMedia = getViewerMedia(index: currentIndex, metadata: metadatas[currentIndex])
         pageViewController.setViewControllers([viewerMedia], direction: direction, animated: true, completion: nil)
     }
-    
-    func reloadCurrentPage() {
-
-        let viewerMedia = getViewerMedia(index: currentIndex, metadata: metadatas[currentIndex])
-        pageViewController.setViewControllers([viewerMedia], direction: .forward, animated: false, completion: nil)
-    }
-    
-    func goTo(index: Int, direction: UIPageViewController.NavigationDirection, autoPlay: Bool) {
-
-        currentIndex = index
-
-        let viewerMedia = getViewerMedia(index: currentIndex, metadata: metadatas[currentIndex])
-        pageViewController.setViewControllers([viewerMedia], direction: direction, animated: true, completion: nil)
-    }
 
     func pageViewController(_ pageViewController: UIPageViewController, viewControllerBefore viewController: UIViewController) -> UIViewController? {