aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-09-18 04:16:40 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-09-18 04:16:40 +0000
commitbf8103aa17821572fbfbbde7406a8057bfe3c19f (patch)
tree4c5628697cfea3d8614a76451dcc94f71c9e0ab7 /app
parent50a75ea4f9bc7d3bccfa5c00db915b5397ba3430 (diff)
downloadinfinity-for-reddit-bf8103aa17821572fbfbbde7406a8057bfe3c19f.tar
infinity-for-reddit-bf8103aa17821572fbfbbde7406a8057bfe3c19f.tar.gz
infinity-for-reddit-bf8103aa17821572fbfbbde7406a8057bfe3c19f.tar.bz2
infinity-for-reddit-bf8103aa17821572fbfbbde7406a8057bfe3c19f.tar.lz
infinity-for-reddit-bf8103aa17821572fbfbbde7406a8057bfe3c19f.tar.xz
infinity-for-reddit-bf8103aa17821572fbfbbde7406a8057bfe3c19f.tar.zst
infinity-for-reddit-bf8103aa17821572fbfbbde7406a8057bfe3c19f.zip
Fix flairTextView not visible in PostImageActivity and PostVideoActivity when a subreddit name is specified.
Diffstat (limited to '')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/Activity/PostImageActivity.java1
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/Activity/PostVideoActivity.java1
2 files changed, 2 insertions, 0 deletions
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)