Browse Source

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

master
Anthony Restaino 8 years ago
parent
commit
928b12619a
  1. 6
      app/src/main/java/acr/browser/lightning/activity/TabsManager.java

6
app/src/main/java/acr/browser/lightning/activity/TabsManager.java

@ -135,7 +135,11 @@ public class TabsManager { @@ -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();
}

Loading…
Cancel
Save