Skip to content

Conversation

Swakshan
Copy link
Contributor

@Swakshan Swakshan commented Oct 7, 2025

Hi Team,

This patch focuses on removing/hiding suggestion blocks such as those mentioned in #6021

@LisoUseInAIKyrios LisoUseInAIKyrios changed the title feat(Instagram): Added Hide suggestion blocks patch feat(Instagram): Add Hide suggestion blocks patch Oct 7, 2025
@brosssh brosssh self-requested a review October 7, 2025 21:55
@Swakshan Swakshan changed the title feat(Instagram): Add Hide suggestion blocks patch feat(Instagram): Add Hide suggested content patch Oct 8, 2025
@Swakshan Swakshan force-pushed the feat/instagram/hide-suggestion-blocks branch from 8aafccf to 94d7c91 Compare October 8, 2025 15:56
@Swakshan
Copy link
Contributor Author

As per the discussion , I try to make the bogus string replacement common so that it can be used in both the patches. Also without the BytecodePatchContext annotation I was getting an error for stringMatches or any other Fingerprint related methods.
Please let me know if there are any other simpler way to do this.
Thanks :)

@Swakshan Swakshan force-pushed the feat/instagram/hide-suggestion-blocks branch from 2743c10 to 730c7e0 Compare October 10, 2025 17:05
@LisoUseInAIKyrios
Copy link
Contributor

Seems ready to merge?

@Swakshan
Copy link
Contributor Author

Swakshan commented Oct 11, 2025

Seems ready to merge?

I don't have any other changes from my side. @brosssh any other improvements needed? If the code structure looks good, we are good with it.

Copy link
Member

@brosssh brosssh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpicking, LGTM apart from this.

@LisoUseInAIKyrios LisoUseInAIKyrios merged commit 50f0b9c into ReVanced:dev Oct 11, 2025
1 check passed
github-actions bot pushed a commit that referenced this pull request Oct 11, 2025
# [5.43.0-dev.1](v5.42.2-dev.3...v5.43.0-dev.1) (2025-10-11)

### Features

* **Instagram:** Add `Hide suggested content` patch ([#6075](#6075)) ([50f0b9c](50f0b9c))
@Swakshan
Copy link
Contributor Author

IMG_20251012_012556 Still showing sponsored posts (5.43.0-dev.1)

This patch never targetted it

github-actions bot pushed a commit that referenced this pull request Oct 14, 2025
# [5.43.0](v5.42.1...v5.43.0) (2025-10-14)

### Bug Fixes

* **Custom branding:** Use white notification icon for expanded status bar panel ([95eee59](95eee59))
* **Instagram - Change sharing domain:** Display patch option ([#6089](#6089)) ([be2b144](be2b144))
* **X / Twitter - Change Link Sharing Domain:** Change link domain of share copy action ([#6091](#6091)) ([5484625](5484625))
* **YouTube - Custom branding:** Do not add a broken custom icon if the user provides an invalid custom icon path ([6555f6e](6555f6e))
* **YouTube - Custom branding:** Use ReVanced icon for status bar notification icon ([#6108](#6108)) ([10ea250](10ea250))
* **YouTube - Force original audio:** Do not use translated audio if stream spoofing is off and force audio is on ([0c19dba](0c19dba))

### Features

* **Instagram:** Add `Hide suggested content` patch ([#6075](#6075)) ([50f0b9c](50f0b9c))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(Instagram): Hide from home feed sponsored ads, suggested reels, and suggested accounts

4 participants