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

This commit is contained in:
anthony restaino 2017-05-12 21:37:25 -04:00
parent 633285a787
commit e794171b8d

View File

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