Browse Source

Fixing bug where add/remove bookmark button didn't work

master
anthony restaino 8 years ago
parent
commit
e794171b8d
  1. 4
      app/src/main/java/acr/browser/lightning/activity/BrowserActivity.java

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

@ -1119,9 +1119,9 @@ public abstract class BrowserActivity extends ThemableBrowserActivity implements
@Override @Override
public void onItem(@Nullable Boolean item) { public void onItem(@Nullable Boolean item) {
if (Boolean.TRUE.equals(item)) { if (Boolean.TRUE.equals(item)) {
addBookmark(title, url);
} else {
deleteBookmark(title, url); deleteBookmark(title, url);
} else {
addBookmark(title, url);
} }
} }
}); });

Loading…
Cancel
Save