Skip to content

Commit

Permalink
fix: Hide filter button in hashtag search
Browse files Browse the repository at this point in the history
Co-authored-by: tehcneko <[email protected]>
  • Loading branch information
omg-xtao and tehcneko committed Jan 24, 2025
1 parent 87fc762 commit 48b6a07
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10371,7 +10371,6 @@ public void run(int param) {
}
filterPopup.show();
});
searchFilterButton.setContentDescription(LocaleController.getString(R.string.JumpToDate));
}
}

Expand Down Expand Up @@ -34098,6 +34097,9 @@ public void openHashtagSearch(String hashtag, boolean forcePublic) {
if (searchUserButton != null) {
searchUserButton.setVisibility(View.GONE);
}
if (searchFilterButton != null) {
searchFilterButton.setVisibility(View.GONE);
}
if (channelHashtags || forcePublic || ChatObject.isChannelAndNotMegaGroup(currentChat) && ChatObject.isPublic(currentChat) && searchingHashtag != null) {
defaultSearchPage = 2;

Expand Down Expand Up @@ -34197,6 +34199,9 @@ private void openSearchWithUser(TLRPC.User user) {
if (searchUserButton != null) {
searchUserButton.setVisibility(View.GONE);
}
if (searchFilterButton != null) {
searchFilterButton.setVisibility(View.GONE);
}
}
if (searchItem != null) {
preventReopenSearchWithText = true;
Expand Down

0 comments on commit 48b6a07

Please sign in to comment.