Add missing changes for history page changes

This commit is contained in:
Anthony Restaino 2016-01-23 12:53:39 -05:00
parent f6b60894f6
commit 076b74e867
2 changed files with 4 additions and 1 deletions

View File

@ -68,6 +68,9 @@ public final class BrowserEvents {
}
}
public final static class OpenHistoryInCurrentTab {
}
/**
* The user want to open the given url in the current tab
*/

View File

@ -222,7 +222,7 @@ public class LightningDialogBuilder {
case DialogInterface.BUTTON_NEGATIVE:
mHistoryDatabase.deleteHistoryItem(url);
// openHistory();
eventBus.post(new BrowserEvents.OpenUrlInCurrentTab(HistoryPage.getHistoryPage(context)));
eventBus.post(new BrowserEvents.OpenHistoryInCurrentTab());
break;
case DialogInterface.BUTTON_NEUTRAL:
eventBus.post(new BrowserEvents.OpenUrlInCurrentTab(url));