From 358beffa9dbcf5d8eec669d6a45e746aaa18a4c4 Mon Sep 17 00:00:00 2001 From: Austin Huang Date: Sun, 21 Mar 2021 15:56:09 -0400 Subject: [PATCH] small fix --- .../main/java/awais/instagrabber/fragments/HashTagFragment.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/awais/instagrabber/fragments/HashTagFragment.java b/app/src/main/java/awais/instagrabber/fragments/HashTagFragment.java index d822587d..75e72949 100644 --- a/app/src/main/java/awais/instagrabber/fragments/HashTagFragment.java +++ b/app/src/main/java/awais/instagrabber/fragments/HashTagFragment.java @@ -378,6 +378,7 @@ public class HashTagFragment extends Fragment implements SwipeRefreshLayout.OnRe if (getArguments() == null) return; final HashTagFragmentArgs fragmentArgs = HashTagFragmentArgs.fromBundle(getArguments()); hashtag = fragmentArgs.getHashtag(); + if (hashtag.charAt(0) == '#') hashtag = hashtag.substring(1); fetchHashtagModel(); }