Skip to content

Commit

Permalink
Extend tappable title area when "Post title opens comments" is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
dsibilio committed Jul 19, 2023
1 parent 0d20a89 commit 8280a91
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,9 @@ public void handleMessage(@NonNull final Message msg) {
final boolean postTitleOpensPost = PrefsUtility.pref_behaviour_post_title_opens_comments();

if(postTitleOpensPost) {
title.setOnClickListener(v -> fragmentParent.onPostCommentsSelected(mPost));
final LinearLayout textLayout = Objects.requireNonNull(
rootView.findViewById(R.id.reddit_post_textLayout));
textLayout.setOnClickListener(v -> fragmentParent.onPostCommentsSelected(mPost));
}

title.setTextSize(
Expand Down

0 comments on commit 8280a91

Please sign in to comment.