From 1686e2d9c37de52c59ab2e6591143a48675f3430 Mon Sep 17 00:00:00 2001 From: Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> Date: Thu, 22 Jun 2023 09:02:08 -0400 Subject: Fix RedditAPIInfoBottomSheetFragment not scrollable. --- .../bottomsheetfragments/RedditAPIInfoBottomSheetFragment.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/src/main/java/ml') 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); -- cgit v1.2.3