Created
January 25, 2016 23:03
-
-
Save thebnich/3a1c32da59647ad115fd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Client/Frontend/Browser/BrowserViewController.swift b/Client/Frontend/Browser/BrowserViewController.swift | |
index 2800e0e..a39b03e 100644 | |
--- a/Client/Frontend/Browser/BrowserViewController.swift | |
+++ b/Client/Frontend/Browser/BrowserViewController.swift | |
@@ -439,24 +439,7 @@ class BrowserViewController: UIViewController { | |
self.view.alpha = (profile.prefs.intForKey(IntroViewControllerSeenProfileKey) != nil) ? 1.0 : 0.0 | |
} | |
- if activeCrashReporter?.previouslyCrashed ?? false { | |
- log.debug("Previously crashed.") | |
- | |
- // Reset previous crash state | |
- activeCrashReporter?.resetPreviousCrashState() | |
- | |
- let optedIntoCrashReporting = profile.prefs.boolForKey("crashreports.send.always") | |
- if optedIntoCrashReporting == nil { | |
- // Offer a chance to allow the user to opt into crash reporting | |
- showCrashOptInAlert() | |
- } else { | |
- showRestoreTabsAlert() | |
- } | |
- } else { | |
- log.debug("Restoring tabs.") | |
- tabManager.restoreTabs() | |
- log.debug("Done restoring tabs.") | |
- } | |
+ showRestoreTabsAlert() | |
log.debug("Updating tab count.") | |
updateTabCountUsingTabManager(tabManager, animated: false) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment