Browse Source

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

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

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

@ -134,8 +134,12 @@ public class TabsManager { @@ -134,8 +134,12 @@ public class TabsManager {
mCurrentTab = null;
if (mPreferenceManager.getRestoreLostTabsEnabled()) {
restoreLostTabs(url, activity, subscriber);
} else {
if (!TextUtils.isEmpty(url)) {
newTab(activity, url, false);
} else {
newTab(activity, null, false);
}
finishInitialization();
subscriber.onComplete();
}

Loading…
Cancel
Save