Only show highlighting by id and tripcode in thread more

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

@ -340,6 +340,7 @@ public class ThreadPresenter implements ChanLoader.ChanLoaderCallback, PostAdapt
menu.add(new FloatingMenuItem(POST_OPTION_HIDE, R.string.post_hide));
}
if (loadable.isThreadMode()) {
if (!TextUtils.isEmpty(post.id)) {
menu.add(new FloatingMenuItem(POST_OPTION_HIGHLIGHT_ID, R.string.post_highlight_id));
}
@ -347,6 +348,7 @@ public class ThreadPresenter implements ChanLoader.ChanLoaderCallback, PostAdapt
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)) {
menu.add(new FloatingMenuItem(POST_OPTION_DELETE, R.string.delete));

Loading…
Cancel
Save