Skip to content

Commit

Permalink
Bug 1311945 - The menu should not be displayed when foregrounding the (
Browse files Browse the repository at this point in the history
…#2289) r=sleroux
  • Loading branch information
codelahoma authored and Stephan Leroux committed Dec 19, 2016
1 parent 9dc8a96 commit e6640c8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Client/Frontend/Browser/BrowserViewController.swift
Expand Up @@ -291,6 +291,9 @@ class BrowserViewController: UIViewController {
self.displayedPopoverController = nil
}

// Dismiss menu if presenting
menuViewController?.dismissViewControllerAnimated(true, completion: nil)

// If we are displying a private tab, hide any elements in the tab that we wouldn't want shown
// when the app is in the home switcher
guard let privateTab = tabManager.selectedTab where privateTab.isPrivate else {
Expand Down

0 comments on commit e6640c8

Please sign in to comment.