Browse Source

Adding todo around bookmark long press bug

master
anthony restaino 8 years ago
parent
commit
5bbcec8208
  1. 1
      app/src/main/java/acr/browser/lightning/dialog/LightningDialogBuilder.java

1
app/src/main/java/acr/browser/lightning/dialog/LightningDialogBuilder.java

@ -91,6 +91,7 @@ public class LightningDialogBuilder {
.subscribe(new SingleOnSubscribe<HistoryItem>() { .subscribe(new SingleOnSubscribe<HistoryItem>() {
@Override @Override
public void onItem(@Nullable HistoryItem historyItem) { public void onItem(@Nullable HistoryItem historyItem) {
// TODO: 6/14/17 figure out solution to case where slashes get appended to root urls causing the item to be null
if (historyItem != null) { if (historyItem != null) {
showLongPressedDialogForBookmarkUrl(activity, uiController, historyItem); showLongPressedDialogForBookmarkUrl(activity, uiController, historyItem);
} }

Loading…
Cancel
Save