Skip to content

Commit 592406a

Browse files
author
Thomas Taschauer
committed
add logic for opening website
1 parent d5521d6 commit 592406a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

OpenDocumentReader/DocumentViewController.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,10 @@ class DocumentViewController: UIViewController, DocumentDelegate {
100100
document?.setPage(page: sender.selectedSegmentIndex)
101101
}
102102

103+
func showWebsite() {
104+
UIApplication.shared.openURL(URL(string: "https://opendocument.app")!)
105+
}
106+
103107
func toggleFullscreen() {
104108
isFullscreen = !isFullscreen
105109
setNeedsStatusBarAppearanceUpdate()

0 commit comments

Comments
 (0)