diff --git a/app/src/main/java/acr/browser/lightning/activity/TabsManager.java b/app/src/main/java/acr/browser/lightning/activity/TabsManager.java index 622bcd2..08c85a6 100644 --- a/app/src/main/java/acr/browser/lightning/activity/TabsManager.java +++ b/app/src/main/java/acr/browser/lightning/activity/TabsManager.java @@ -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(); }