Skip to content

Commit

Permalink
dimeloDisplayChatViewController
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerlong committed Jul 24, 2019
1 parent 9b14c11 commit f03f3b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion GrandTravel/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ public var sharedDimelo: Dimelo = Dimelo.sharedInstance()
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate, DimeloDelegate {
func dimeloDisplayChatViewController(_ dimelo: Dimelo!) {

let tvc = self.window?.rootViewController as! TabBarController
tvc.selectedIndex = tvc.tabBar.items!.count - 1
}

var window: UIWindow?
Expand Down
1 change: 0 additions & 1 deletion GrandTravel/TabBarController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

import UIKit


class TabBarController: UITabBarController, UITabBarControllerDelegate {

func tabBarController(_ tabBarController: UITabBarController, didSelect viewController: UIViewController)
Expand Down

0 comments on commit f03f3b6

Please sign in to comment.