aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/ml/docilealligator/infinityforreddit
diff options
context:
space:
mode:
authorDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2023-06-22 13:02:08 +0000
committerDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2023-06-22 13:02:08 +0000
commit1686e2d9c37de52c59ab2e6591143a48675f3430 (patch)
treefebd353d9ac045faf30ededa975205f4d13147a1 /app/src/main/java/ml/docilealligator/infinityforreddit
parentd38651472510b4d46994f87527c22d05f47acc9e (diff)
downloadinfinity-for-reddit-1686e2d9c37de52c59ab2e6591143a48675f3430.tar
infinity-for-reddit-1686e2d9c37de52c59ab2e6591143a48675f3430.tar.gz
infinity-for-reddit-1686e2d9c37de52c59ab2e6591143a48675f3430.tar.bz2
infinity-for-reddit-1686e2d9c37de52c59ab2e6591143a48675f3430.tar.lz
infinity-for-reddit-1686e2d9c37de52c59ab2e6591143a48675f3430.tar.xz
infinity-for-reddit-1686e2d9c37de52c59ab2e6591143a48675f3430.tar.zst
infinity-for-reddit-1686e2d9c37de52c59ab2e6591143a48675f3430.zip
Fix RedditAPIInfoBottomSheetFragment not scrollable.
Diffstat (limited to 'app/src/main/java/ml/docilealligator/infinityforreddit')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/bottomsheetfragments/RedditAPIInfoBottomSheetFragment.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/bottomsheetfragments/RedditAPIInfoBottomSheetFragment.java b/app/src/main/java/ml/docilealligator/infinityforreddit/bottomsheetfragments/RedditAPIInfoBottomSheetFragment.java
index 188e6a29..54da61e9 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/bottomsheetfragments/RedditAPIInfoBottomSheetFragment.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/bottomsheetfragments/RedditAPIInfoBottomSheetFragment.java
@@ -38,6 +38,8 @@ public class RedditAPIInfoBottomSheetFragment extends LandscapeExpandedRoundedBo
Utils.setFontToAllTextViews(binding.getRoot(), mainActivity.typeface);
}
+ binding.getRoot().setNestedScrollingEnabled(true);
+
SpannableString message = new SpannableString(getString(R.string.reddit_api_info, "https://www.reddit.com/r/reddit/comments/145bram/addressing_the_community_about_changes_to_our_api", "https://www.reddit.com/r/Infinity_For_Reddit/comments/147bhsg/the_future_of_infinity"));
Linkify.addLinks(message, Linkify.WEB_URLS);
binding.messageTextViewRedditApiInfoBottomSheetFragment.setText(message);