From bf8103aa17821572fbfbbde7406a8057bfe3c19f Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Fri, 18 Sep 2020 12:16:40 +0800 Subject: Fix flairTextView not visible in PostImageActivity and PostVideoActivity when a subreddit name is specified. --- .../ml/docilealligator/infinityforreddit/Activity/PostImageActivity.java | 1 + .../ml/docilealligator/infinityforreddit/Activity/PostVideoActivity.java | 1 + 2 files changed, 2 insertions(+) (limited to 'app') diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/Activity/PostImageActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/Activity/PostImageActivity.java index ef6ba876..3f0b7e52 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/Activity/PostImageActivity.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/Activity/PostImageActivity.java @@ -254,6 +254,7 @@ public class PostImageActivity extends BaseActivity implements FlairBottomSheetF subredditSelected = true; subredditNameTextView.setTextColor(primaryTextColor); subredditNameTextView.setText(subredditName); + flairTextView.setVisibility(View.VISIBLE); loadSubredditIcon(); } else { mGlide.load(R.drawable.subreddit_default_icon) diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/Activity/PostVideoActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/Activity/PostVideoActivity.java index e433d021..38e49c10 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/Activity/PostVideoActivity.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/Activity/PostVideoActivity.java @@ -266,6 +266,7 @@ public class PostVideoActivity extends BaseActivity implements FlairBottomSheetF subredditSelected = true; subredditNameTextView.setTextColor(primaryTextColor); subredditNameTextView.setText(subredditName); + flairTextView.setVisibility(View.VISIBLE); loadSubredditIcon(); } else { mGlide.load(R.drawable.subreddit_default_icon) -- cgit v1.2.3