This commit is contained in:
Chris Li 2016-09-29 16:19:17 -04:00
parent 7d11c1499a
commit a024ba7efe
5 changed files with 5 additions and 5 deletions

View File

@ -128,7 +128,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
self.mainController?.showSearch(animated: false) self.mainController?.showSearch(animated: false)
completionHandler(true) completionHandler(true)
case "org.kiwix.bookmarks": case "org.kiwix.bookmarks":
self.mainController?.showBookmarkTBVC() self.mainController?.showBookmarkController()
completionHandler(true) completionHandler(true)
case recentShortcutTypeString: case recentShortcutTypeString:
guard let urlString = shortcutItem.userInfo?["URL"] as? String, guard let urlString = shortcutItem.userInfo?["URL"] as? String,

View File

@ -70,7 +70,7 @@ extension MainController: UIWebViewDelegate, SFSafariViewControllerDelegate, LPT
func barButtonTapped(sender: LPTBarButtonItem, gestureRecognizer: UIGestureRecognizer) { func barButtonTapped(sender: LPTBarButtonItem, gestureRecognizer: UIGestureRecognizer) {
guard sender == bookmarkButton else {return} guard sender == bookmarkButton else {return}
showBookmarkTBVC() showBookmarkController()
} }
func barButtonLongPressedStart(sender: LPTBarButtonItem, gestureRecognizer: UIGestureRecognizer) { func barButtonLongPressedStart(sender: LPTBarButtonItem, gestureRecognizer: UIGestureRecognizer) {

View File

@ -158,7 +158,7 @@ extension MainController {
// MARK: - Show Bookmark // MARK: - Show Bookmark
func showBookmarkTBVC() { func showBookmarkController() {
let controller = Controllers.bookmark let controller = Controllers.bookmark
controller.modalPresentationStyle = .FormSheet controller.modalPresentationStyle = .FormSheet
presentViewController(controller, animated: true, completion: nil) presentViewController(controller, animated: true, completion: nil)

View File

@ -49,7 +49,7 @@
</dict> </dict>
</array> </array>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>1.8.1473</string> <string>1.8.1475</string>
<key>ITSAppUsesNonExemptEncryption</key> <key>ITSAppUsesNonExemptEncryption</key>
<false/> <false/>
<key>LSRequiresIPhoneOS</key> <key>LSRequiresIPhoneOS</key>

View File

@ -21,7 +21,7 @@
<key>CFBundleSignature</key> <key>CFBundleSignature</key>
<string>????</string> <string>????</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>1.8.1477</string> <string>1.8.1479</string>
<key>NSExtension</key> <key>NSExtension</key>
<dict> <dict>
<key>NSExtensionMainStoryboard</key> <key>NSExtensionMainStoryboard</key>