From a024ba7efe5b857de57e922ed3ffee0ee5e64e47 Mon Sep 17 00:00:00 2001 From: Chris Li Date: Thu, 29 Sep 2016 16:19:17 -0400 Subject: [PATCH] refactor --- Kiwix-iOS/AppDelegate.swift | 2 +- Kiwix-iOS/Controller/Main/MainControllerDelegates.swift | 2 +- Kiwix-iOS/Controller/Main/MainControllerShowHide.swift | 2 +- Kiwix-iOS/Info.plist | 2 +- Kiwix-iOSWidgets/Bookmarks/Info.plist | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Kiwix-iOS/AppDelegate.swift b/Kiwix-iOS/AppDelegate.swift index a1815417..f2010ded 100644 --- a/Kiwix-iOS/AppDelegate.swift +++ b/Kiwix-iOS/AppDelegate.swift @@ -128,7 +128,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { self.mainController?.showSearch(animated: false) completionHandler(true) case "org.kiwix.bookmarks": - self.mainController?.showBookmarkTBVC() + self.mainController?.showBookmarkController() completionHandler(true) case recentShortcutTypeString: guard let urlString = shortcutItem.userInfo?["URL"] as? String, diff --git a/Kiwix-iOS/Controller/Main/MainControllerDelegates.swift b/Kiwix-iOS/Controller/Main/MainControllerDelegates.swift index 00252793..89a9e68d 100644 --- a/Kiwix-iOS/Controller/Main/MainControllerDelegates.swift +++ b/Kiwix-iOS/Controller/Main/MainControllerDelegates.swift @@ -70,7 +70,7 @@ extension MainController: UIWebViewDelegate, SFSafariViewControllerDelegate, LPT func barButtonTapped(sender: LPTBarButtonItem, gestureRecognizer: UIGestureRecognizer) { guard sender == bookmarkButton else {return} - showBookmarkTBVC() + showBookmarkController() } func barButtonLongPressedStart(sender: LPTBarButtonItem, gestureRecognizer: UIGestureRecognizer) { diff --git a/Kiwix-iOS/Controller/Main/MainControllerShowHide.swift b/Kiwix-iOS/Controller/Main/MainControllerShowHide.swift index dd237cd6..6c7ea354 100644 --- a/Kiwix-iOS/Controller/Main/MainControllerShowHide.swift +++ b/Kiwix-iOS/Controller/Main/MainControllerShowHide.swift @@ -158,7 +158,7 @@ extension MainController { // MARK: - Show Bookmark - func showBookmarkTBVC() { + func showBookmarkController() { let controller = Controllers.bookmark controller.modalPresentationStyle = .FormSheet presentViewController(controller, animated: true, completion: nil) diff --git a/Kiwix-iOS/Info.plist b/Kiwix-iOS/Info.plist index 378e9b3a..55e439a9 100644 --- a/Kiwix-iOS/Info.plist +++ b/Kiwix-iOS/Info.plist @@ -49,7 +49,7 @@ CFBundleVersion - 1.8.1473 + 1.8.1475 ITSAppUsesNonExemptEncryption LSRequiresIPhoneOS diff --git a/Kiwix-iOSWidgets/Bookmarks/Info.plist b/Kiwix-iOSWidgets/Bookmarks/Info.plist index d751d1bb..ce3a1c1c 100644 --- a/Kiwix-iOSWidgets/Bookmarks/Info.plist +++ b/Kiwix-iOSWidgets/Bookmarks/Info.plist @@ -21,7 +21,7 @@ CFBundleSignature ???? CFBundleVersion - 1.8.1477 + 1.8.1479 NSExtension NSExtensionMainStoryboard