Only show highlighting by id and tripcode in thread more

filtering
Floens 10 years ago
parent 7ecc9f183b
commit f83e6ec0e8
  1. 12
      Clover/app/src/main/java/org/floens/chan/core/presenter/ThreadPresenter.java

@ -340,12 +340,14 @@ public class ThreadPresenter implements ChanLoader.ChanLoaderCallback, PostAdapt
menu.add(new FloatingMenuItem(POST_OPTION_HIDE, R.string.post_hide));
}
if (!TextUtils.isEmpty(post.id)) {
menu.add(new FloatingMenuItem(POST_OPTION_HIGHLIGHT_ID, R.string.post_highlight_id));
}
if (loadable.isThreadMode()) {
if (!TextUtils.isEmpty(post.id)) {
menu.add(new FloatingMenuItem(POST_OPTION_HIGHLIGHT_ID, R.string.post_highlight_id));
}
if (!TextUtils.isEmpty(post.tripcode)) {
menu.add(new FloatingMenuItem(POST_OPTION_HIGHLIGHT_TRIPCODE, R.string.post_highlight_tripcode));
if (!TextUtils.isEmpty(post.tripcode)) {
menu.add(new FloatingMenuItem(POST_OPTION_HIGHLIGHT_TRIPCODE, R.string.post_highlight_tripcode));
}
}
if (databaseManager.isSavedReply(post.board, post.no)) {

Loading…
Cancel
Save