From 1108d41eed544d68fa85daca5fdba564753e34ee Mon Sep 17 00:00:00 2001 From: Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> Date: Wed, 21 Sep 2022 15:54:58 +1000 Subject: Minor bugs fixed. --- .../activities/CommentActivity.java | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'app/src/main/java') diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/CommentActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/CommentActivity.java index b17ba0f4..4aac3cbe 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/CommentActivity.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/CommentActivity.java @@ -187,8 +187,8 @@ public class CommentActivity extends BaseActivity implements UploadImageEnabledA String parentBodyMarkdown = intent.getStringExtra(EXTRA_COMMENT_PARENT_BODY_MARKDOWN_KEY); String parentBody = intent.getStringExtra(EXTRA_COMMENT_PARENT_BODY_KEY); if (parentBodyMarkdown != null && !parentBodyMarkdown.equals("")) { - binding.contentMarkdownRecyclerView.setVisibility(View.VISIBLE); - binding.contentMarkdownRecyclerView.setNestedScrollingEnabled(false); + binding.commentContentMarkdownView.setVisibility(View.VISIBLE); + binding.commentContentMarkdownView.setNestedScrollingEnabled(false); int linkColor = mCustomThemeWrapper.getLinkColor(); Markwon postBodyMarkwon = Markwon.builder(this) .usePlugin(MarkwonInlineParserPlugin.create(plugin -> { @@ -356,26 +356,26 @@ public class CommentActivity extends BaseActivity implements UploadImageEnabledA @Override protected void applyCustomTheme() { - binding.coordinatorLayout.setBackgroundColor(mCustomThemeWrapper.getBackgroundColor()); - applyAppBarLayoutAndCollapsingToolbarLayoutAndToolbarTheme(binding.appBarLayout, null, toolbar); + binding.commentCoordinatorLayout.setBackgroundColor(mCustomThemeWrapper.getBackgroundColor()); + applyAppBarLayoutAndCollapsingToolbarLayoutAndToolbarTheme(binding.commentAppbarLayout, null, binding.commentToolbar); binding.commentParentTitleTextView.setTextColor(customThemeWrapper.getPostTitleColor()); - binding.divider.setBackgroundColor(mCustomThemeWrapper.getDividerColor()); - binding.commentEditText.setTextColor(mCustomThemeWrapper.getCommentColor()); + binding.commentDivider.setBackgroundColor(mCustomThemeWrapper.getDividerColor()); + binding.commentCommentEditText.setTextColor(mCustomThemeWrapper.getCommentColor()); int secondaryTextColor = mCustomThemeWrapper.getSecondaryTextColor(); - binding.commentEditText.setHintTextColor(secondaryTextColor); + binding.commentCommentEditText.setHintTextColor(secondaryTextColor); if (isReplying) { parentTextColor = mCustomThemeWrapper.getCommentColor(); } else { parentTextColor = mCustomThemeWrapper.getPostContentColor(); } parentSpoilerBackgroundColor = parentTextColor | 0xFF000000; - binding.accountNameTextView.setTextColor(mCustomThemeWrapper.getPrimaryTextColor()); + binding.commentAccountNameTextView.setTextColor(mCustomThemeWrapper.getPrimaryTextColor()); if (typeface != null) { - commentEditText.setTypeface(typeface); + binding.commentCommentEditText.setTypeface(typeface); } if (titleTypeface != null) { - commentParentTitleTextView.setTypeface(titleTypeface); + binding.commentParentTitleTextView.setTypeface(titleTypeface); } } -- cgit v1.2.3