Add missing changes for history page changes
This commit is contained in:
parent
f6b60894f6
commit
076b74e867
@ -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
|
* The user want to open the given url in the current tab
|
||||||
*/
|
*/
|
||||||
|
@ -222,7 +222,7 @@ public class LightningDialogBuilder {
|
|||||||
case DialogInterface.BUTTON_NEGATIVE:
|
case DialogInterface.BUTTON_NEGATIVE:
|
||||||
mHistoryDatabase.deleteHistoryItem(url);
|
mHistoryDatabase.deleteHistoryItem(url);
|
||||||
// openHistory();
|
// openHistory();
|
||||||
eventBus.post(new BrowserEvents.OpenUrlInCurrentTab(HistoryPage.getHistoryPage(context)));
|
eventBus.post(new BrowserEvents.OpenHistoryInCurrentTab());
|
||||||
break;
|
break;
|
||||||
case DialogInterface.BUTTON_NEUTRAL:
|
case DialogInterface.BUTTON_NEUTRAL:
|
||||||
eventBus.post(new BrowserEvents.OpenUrlInCurrentTab(url));
|
eventBus.post(new BrowserEvents.OpenUrlInCurrentTab(url));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user