Fixed bug where links wouldn't open correctly in the browser

This commit is contained in:
Anthony Restaino 2016-11-03 22:55:06 -04:00
parent aec90b4ae2
commit 928b12619a

View File

@ -135,7 +135,11 @@ public class TabsManager {
if (mPreferenceManager.getRestoreLostTabsEnabled()) {
restoreLostTabs(url, activity, subscriber);
} else {
newTab(activity, null, false);
if (!TextUtils.isEmpty(url)) {
newTab(activity, url, false);
} else {
newTab(activity, null, false);
}
finishInitialization();
subscriber.onComplete();
}