Skip to content

Commit

Permalink
dark sf safari view controller and bump build
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAdamBoyd committed Nov 25, 2017
1 parent 2c9fcaf commit efb582b
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DownTube/DownTube/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.4.2</string>
<string>1.4.3</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ class AppInfoViewController: UIViewController {
*/
@IBAction func goToGitHub(_ sender: AnyObject) {
let vc = SFSafariViewController(url: URL(string: "https://github.com/MrAdamBoyd/DownTube")!, entersReaderIfAvailable: false)
vc.preferredBarTintColor = .black
vc.preferredControlTintColor = .white
self.present(vc, animated: true, completion: nil)
}
}
2 changes: 2 additions & 0 deletions DownTube/DownTube/View Controllers/MasterViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,8 @@ class MasterViewController: UITableViewController, VideoEditingHandlerDelegate,
/// Shows an SFSafariViewController with youtube loaded
func showSafariVC() -> SFSafariViewController {
let vc = SFSafariViewController(url: URL(string: "https://youtube.com")!)
vc.preferredBarTintColor = .black
vc.preferredControlTintColor = .white
self.present(vc, animated: true, completion: nil)
return vc
}
Expand Down
2 changes: 1 addition & 1 deletion DownTube/DownTubeShareExtension/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<key>CFBundlePackageType</key>
<string>XPC!</string>
<key>CFBundleShortVersionString</key>
<string>1.4.2</string>
<string>1.4.3</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion DownTube/DownTubeUITests/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>1.4.2</string>
<string>1.4.3</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down

0 comments on commit efb582b

Please sign in to comment.