mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Fix broken Travis
This commit is contained in:
@@ -19,7 +19,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
|
||||
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
|
||||
let window = UIWindow(frame: UIScreen.mainScreen().bounds)
|
||||
window.backgroundColor = UIColor.whiteColor()
|
||||
window.rootViewController = ViewController()
|
||||
window.rootViewController = ViewController(nibName: nil, bundle: nil)
|
||||
window.makeKeyAndVisible()
|
||||
self.window = window
|
||||
return true
|
||||
|
||||
@@ -18,7 +18,7 @@ class ViewController: UIViewController, ASTableViewDataSource, ASTableViewDelega
|
||||
|
||||
// MARK: UIViewController.
|
||||
|
||||
required init() {
|
||||
override required init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: NSBundle?) {
|
||||
self.tableView = ASTableView()
|
||||
|
||||
super.init(nibName: nil, bundle: nil)
|
||||
|
||||
Reference in New Issue
Block a user