Skip to content
This repository has been archived by the owner on Oct 26, 2024. It is now read-only.

chore: merge branch dev to main #474

Merged
merged 69 commits into from
Oct 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
d86851b
fix(YouTube - Hide layout components): Always hide redundant 'player …
LisoUseInAIKyrios Sep 7, 2023
830cfb5
chore(release): 0.117.2-dev.1 [skip ci]
semantic-release-bot Sep 7, 2023
17ed396
fix(YouTube - Custom filter): Use new lines between components instea…
LisoUseInAIKyrios Sep 7, 2023
acf7e2d
chore(release): 0.117.2-dev.2 [skip ci]
semantic-release-bot Sep 7, 2023
e3b8e8b
fix(YouTube - ReturnYouTubeDislike): Add debug logging to litho text …
LisoUseInAIKyrios Sep 9, 2023
f0bfcef
chore(release): 0.117.2-dev.3 [skip ci]
semantic-release-bot Sep 9, 2023
526d66f
feat(TU Dortmund): Add `Show on lockscreen` patch (#472)
Traktores Sep 14, 2023
7b524ef
chore(release): 0.118.0-dev.1 [skip ci]
semantic-release-bot Sep 14, 2023
4a242c7
refactor: Use try block for auto closeable
oSumAtrIX Sep 14, 2023
2c34180
feat(Twitch - Block embedded ads): Switch from `ttv.lol` to `luminous…
oSumAtrIX Sep 14, 2023
aa10de4
chore(release): 0.118.0-dev.2 [skip ci]
semantic-release-bot Sep 14, 2023
2352fa5
fix(YouTube): fix old quality and custom speed not working on tablets…
LisoUseInAIKyrios Sep 19, 2023
9272df5
chore(release): 0.118.0-dev.3 [skip ci]
semantic-release-bot Sep 19, 2023
b193b3d
ci: Use better workflow name and PR message
oSumAtrIX Sep 23, 2023
ef1cca0
fix(YouTube - Client spoof): Do not record feed videos to history by …
oSumAtrIX Sep 23, 2023
bfae6b5
chore(release): 0.118.0-dev.4 [skip ci]
semantic-release-bot Sep 23, 2023
978f630
fix(YouTube - Client spoof): Restore seekbar thumbnails
oSumAtrIX Sep 25, 2023
2cd1738
fix(YouTube - Client spoof): Restore clipping videos functionality
oSumAtrIX Sep 25, 2023
a113905
chore(release): 0.118.0-dev.5 [skip ci]
semantic-release-bot Sep 25, 2023
d20b768
perf: Only request required fields
oSumAtrIX Sep 25, 2023
ba5e7d8
perf: Remove unnecessary api key parameter
oSumAtrIX Sep 25, 2023
aa0282f
chore(release): 0.118.0-dev.6 [skip ci]
semantic-release-bot Sep 25, 2023
4b0925e
fix: Remove parameter from route
oSumAtrIX Sep 25, 2023
b76794b
chore(release): 0.118.0-dev.7 [skip ci]
semantic-release-bot Sep 25, 2023
f71c1a0
fix(YouTube - Client spoof): Display seekbar thumbnails in high quality
oSumAtrIX Sep 25, 2023
8999361
chore(release): 0.118.0-dev.8 [skip ci]
semantic-release-bot Sep 25, 2023
e6903bf
fix(YouTube - Client spoof): Removed unused code (#480)
LisoUseInAIKyrios Sep 25, 2023
a591c62
chore(release): 0.118.0-dev.9 [skip ci]
semantic-release-bot Sep 25, 2023
8398774
fix(YouTube - Client spoof): fix storyboard fetched out of order (#481)
LisoUseInAIKyrios Sep 26, 2023
2452655
chore(release): 0.118.0-dev.10 [skip ci]
semantic-release-bot Sep 26, 2023
e72b65b
fix(YouTube - Client spoof): fix toast shown if opening paid or age r…
LisoUseInAIKyrios Sep 26, 2023
62f92c3
chore(release): 0.118.0-dev.11 [skip ci]
semantic-release-bot Sep 26, 2023
01019b0
fix(YouTube - Client spoof): Show seekbar thumbnail for age restricte…
oSumAtrIX Sep 26, 2023
09e8b3e
chore(release): 0.118.0-dev.12 [skip ci]
semantic-release-bot Sep 26, 2023
ab9989d
chore(YouTube - Client spoof): add logging. fix fall over logic if an…
LisoUseInAIKyrios Sep 26, 2023
b0b6ff6
fix(YouTube - Client spoof): fix occasionally frozen video playback (…
LisoUseInAIKyrios Sep 27, 2023
67ada81
chore(release): 0.118.0-dev.13 [skip ci]
semantic-release-bot Sep 27, 2023
a01db14
ci: Bump checkout action
oSumAtrIX Sep 27, 2023
00c4c40
fix(YouTube - Hide info cards): Fix info cards not hiding for some us…
LisoUseInAIKyrios Sep 27, 2023
1e6fabc
chore(release): 0.118.0-dev.14 [skip ci]
semantic-release-bot Sep 27, 2023
5dadb0d
feat(YouTube): Bump compatibility to `18.37.36` (#483)
oSumAtrIX Sep 27, 2023
444b800
chore(release): 0.118.0-dev.15 [skip ci]
semantic-release-bot Sep 27, 2023
9109653
feat(YouTube): Add `Bypass URL redirects` patch
oSumAtrIX Sep 28, 2023
cc416bc
chore: Log hiding mix playlists (#485)
johnconner122 Sep 28, 2023
e7e02e1
chore: fix build
LisoUseInAIKyrios Sep 28, 2023
4b256f5
chore(release): 0.118.0-dev.16 [skip ci]
semantic-release-bot Sep 28, 2023
da923a3
fix(YouTube - Video Id): Fix video id not showing the currently playi…
LisoUseInAIKyrios Sep 28, 2023
27f49df
fix(YouTube - Client spoof): Fix toast shown for live streams (#489)
LisoUseInAIKyrios Sep 28, 2023
78bea48
chore(release): 0.118.0-dev.17 [skip ci]
semantic-release-bot Sep 28, 2023
165b061
fix(YouTube - ReturnYouTubeDislike): Revert support for 18.37.36 (#488)
LisoUseInAIKyrios Sep 28, 2023
7dfa0e4
chore(release): 0.118.0-dev.18 [skip ci]
semantic-release-bot Sep 28, 2023
b472aee
feat(YouTube - Hide layout components): Hide timed reactions
oSumAtrIX Oct 1, 2023
b87d806
feat(YouTube - Hide layout components): Hide "Notify me" button
oSumAtrIX Oct 1, 2023
e225468
feat(YouTube - Hide layout components): Hide "Join" button
oSumAtrIX Oct 1, 2023
c992289
chore(release): 0.118.0-dev.19 [skip ci]
semantic-release-bot Oct 1, 2023
1689bf4
refactor(Tumblr): Use a common filter patch (#479)
leumasme Oct 1, 2023
9685070
fix(YouTube - Hide shorts components): Hide subscribe button in pause…
oSumAtrIX Oct 1, 2023
d156951
chore(release): 0.118.0-dev.20 [skip ci]
semantic-release-bot Oct 1, 2023
93a3045
feat(YouTube - Hide layout components): Hide search result shelf header
oSumAtrIX Oct 1, 2023
5185673
refactor: Move classes to correct path
oSumAtrIX Oct 2, 2023
f451d67
chore(release): 0.118.0-dev.21 [skip ci]
semantic-release-bot Oct 2, 2023
25f73eb
refactor: Simplify filtering a component
oSumAtrIX Oct 2, 2023
3d0fc1d
fix: Do not always hide the component
oSumAtrIX Oct 2, 2023
b280de3
feat(YouTube - Hide layout components): Disable hiding search result …
oSumAtrIX Oct 2, 2023
a198ef8
chore(release): 0.118.0-dev.22 [skip ci]
semantic-release-bot Oct 2, 2023
4215be4
fix(YouTube - SponsorBlock): Adjust import/export UI text (#491)
LisoUseInAIKyrios Oct 2, 2023
6075c9e
chore(release): 0.118.0-dev.23 [skip ci]
semantic-release-bot Oct 2, 2023
bedb02e
fix(YouTube - Hide layout components): Do not hide chapters in feed u…
oSumAtrIX Oct 3, 2023
1a702bc
chore(release): 0.118.0-dev.24 [skip ci]
semantic-release-bot Oct 3, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: PR to main
name: Open a PR to main

on:
push:
Expand All @@ -7,15 +7,15 @@ on:
workflow_dispatch:

env:
MESSAGE: merge branch `${{ github.head_ref || github.ref_name }}` to `main`
MESSAGE: Merge branch `${{ github.head_ref || github.ref_name }}` to `main`

jobs:
pull-request:
name: Open pull request
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Open pull request
uses: repo-sync/pull-request@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# Make sure the release step uses its own credentials:
# https://github.com/cycjimmy/semantic-release-action#private-packages
Expand Down
199 changes: 199 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,202 @@
# [0.118.0-dev.24](https://github.com/ReVanced/revanced-integrations/compare/v0.118.0-dev.23...v0.118.0-dev.24) (2023-10-03)


### Bug Fixes

* **YouTube - Hide layout components:** Do not hide chapters in feed unexpectedly ([bedb02e](https://github.com/ReVanced/revanced-integrations/commit/bedb02e4f6122f3dcdc106648648eec4d6a3cbe5))

# [0.118.0-dev.23](https://github.com/ReVanced/revanced-integrations/compare/v0.118.0-dev.22...v0.118.0-dev.23) (2023-10-02)


### Bug Fixes

* **YouTube - SponsorBlock:** Adjust import/export UI text ([#491](https://github.com/ReVanced/revanced-integrations/issues/491)) ([4215be4](https://github.com/ReVanced/revanced-integrations/commit/4215be4250d195ecf89b041c96834be56c164f34))

# [0.118.0-dev.22](https://github.com/ReVanced/revanced-integrations/compare/v0.118.0-dev.21...v0.118.0-dev.22) (2023-10-02)


### Bug Fixes

* Do not always hide the component ([3d0fc1d](https://github.com/ReVanced/revanced-integrations/commit/3d0fc1d610cdf50bb7cc4687d899e0acbf3fb83e))


### Features

* **YouTube - Hide layout components:** Disable hiding search result shelf header by default ([b280de3](https://github.com/ReVanced/revanced-integrations/commit/b280de31957631180f07057cc7e466bd26e2f7fb))

# [0.118.0-dev.21](https://github.com/ReVanced/revanced-integrations/compare/v0.118.0-dev.20...v0.118.0-dev.21) (2023-10-02)


### Features

* **YouTube - Hide layout components:** Hide search result shelf header ([93a3045](https://github.com/ReVanced/revanced-integrations/commit/93a30453d9693e015b1f58a12f85cf355770a4ca))

# [0.118.0-dev.20](https://github.com/ReVanced/revanced-integrations/compare/v0.118.0-dev.19...v0.118.0-dev.20) (2023-10-01)


### Bug Fixes

* **YouTube - Hide shorts components:** Hide subscribe button in paused state ([9685070](https://github.com/ReVanced/revanced-integrations/commit/9685070eda5b448eb33324b4bfabd4c7eae42f9f))

# [0.118.0-dev.19](https://github.com/ReVanced/revanced-integrations/compare/v0.118.0-dev.18...v0.118.0-dev.19) (2023-10-01)


### Features

* **YouTube - Hide layout components:** Hide "Join" button ([e225468](https://github.com/ReVanced/revanced-integrations/commit/e2254681cd77481376e4c3f8c556db510fdfce6c))
* **YouTube - Hide layout components:** Hide "Notify me" button ([b87d806](https://github.com/ReVanced/revanced-integrations/commit/b87d8066597a2c989480de47561007844964a0e4))
* **YouTube - Hide layout components:** Hide timed reactions ([b472aee](https://github.com/ReVanced/revanced-integrations/commit/b472aeeed7904f6b6d537dfbddda1a97c7ddcd5e))

# [0.118.0-dev.18](https://github.com/ReVanced/revanced-integrations/compare/v0.118.0-dev.17...v0.118.0-dev.18) (2023-09-28)


### Bug Fixes

* **YouTube - ReturnYouTubeDislike:** Revert support for 18.37.36 ([#488](https://github.com/ReVanced/revanced-integrations/issues/488)) ([165b061](https://github.com/ReVanced/revanced-integrations/commit/165b061fa9c5fd48b0dbb9540fd6ea6a9ffaf312))

# [0.118.0-dev.17](https://github.com/ReVanced/revanced-integrations/compare/v0.118.0-dev.16...v0.118.0-dev.17) (2023-09-28)


### Bug Fixes

* **YouTube - Client spoof:** Fix toast shown for live streams ([#489](https://github.com/ReVanced/revanced-integrations/issues/489)) ([27f49df](https://github.com/ReVanced/revanced-integrations/commit/27f49dfd1e8fbfd3e28270da91ad437df8a54761))
* **YouTube - Video Id:** Fix video id not showing the currently playing video ([#484](https://github.com/ReVanced/revanced-integrations/issues/484)) ([da923a3](https://github.com/ReVanced/revanced-integrations/commit/da923a38a06baf8c30d38211e8354be4edb0ad51))

# [0.118.0-dev.16](https://github.com/ReVanced/revanced-integrations/compare/v0.118.0-dev.15...v0.118.0-dev.16) (2023-09-28)


### Features

* **YouTube:** Add `Bypass URL redirects` patch ([9109653](https://github.com/ReVanced/revanced-integrations/commit/91096532eedf396920d69932638f667cbf850cbe))

# [0.118.0-dev.15](https://github.com/ReVanced/revanced-integrations/compare/v0.118.0-dev.14...v0.118.0-dev.15) (2023-09-27)


### Features

* **YouTube:** Bump compatibility to `18.37.36` ([#483](https://github.com/ReVanced/revanced-integrations/issues/483)) ([5dadb0d](https://github.com/ReVanced/revanced-integrations/commit/5dadb0d523f2b1eb4216d43770af37a156c8a477))

# [0.118.0-dev.14](https://github.com/ReVanced/revanced-integrations/compare/v0.118.0-dev.13...v0.118.0-dev.14) (2023-09-27)


### Bug Fixes

* **YouTube - Hide info cards:** Fix info cards not hiding for some users ([#487](https://github.com/ReVanced/revanced-integrations/issues/487)) ([00c4c40](https://github.com/ReVanced/revanced-integrations/commit/00c4c4025bc27495e490fdb231ac803881c9887f))

# [0.118.0-dev.13](https://github.com/ReVanced/revanced-integrations/compare/v0.118.0-dev.12...v0.118.0-dev.13) (2023-09-27)


### Bug Fixes

* **YouTube - Client spoof:** fix occasionally frozen video playback ([#486](https://github.com/ReVanced/revanced-integrations/issues/486)) ([b0b6ff6](https://github.com/ReVanced/revanced-integrations/commit/b0b6ff6a82820d4578c5cfc5f69ae7aaaac49c7f))

# [0.118.0-dev.12](https://github.com/ReVanced/revanced-integrations/compare/v0.118.0-dev.11...v0.118.0-dev.12) (2023-09-26)


### Bug Fixes

* **YouTube - Client spoof:** Show seekbar thumbnail for age restricted and paid videos ([01019b0](https://github.com/ReVanced/revanced-integrations/commit/01019b09c1c106ed814b994dd8af558a18873c1d))

# [0.118.0-dev.11](https://github.com/ReVanced/revanced-integrations/compare/v0.118.0-dev.10...v0.118.0-dev.11) (2023-09-26)


### Bug Fixes

* **YouTube - Client spoof:** fix toast shown if opening paid or age restricted video ([#482](https://github.com/ReVanced/revanced-integrations/issues/482)) ([e72b65b](https://github.com/ReVanced/revanced-integrations/commit/e72b65b599353715a6467463226abc603bc850f7))

# [0.118.0-dev.10](https://github.com/ReVanced/revanced-integrations/compare/v0.118.0-dev.9...v0.118.0-dev.10) (2023-09-26)


### Bug Fixes

* **YouTube - Client spoof:** fix storyboard fetched out of order ([#481](https://github.com/ReVanced/revanced-integrations/issues/481)) ([8398774](https://github.com/ReVanced/revanced-integrations/commit/83987747e67541cd44221ede8c4020baba36c7b8))

# [0.118.0-dev.9](https://github.com/ReVanced/revanced-integrations/compare/v0.118.0-dev.8...v0.118.0-dev.9) (2023-09-25)


### Bug Fixes

* **YouTube - Client spoof:** Removed unused code ([#480](https://github.com/ReVanced/revanced-integrations/issues/480)) ([e6903bf](https://github.com/ReVanced/revanced-integrations/commit/e6903bff95b485d21773537bbcc162411b616618))

# [0.118.0-dev.8](https://github.com/ReVanced/revanced-integrations/compare/v0.118.0-dev.7...v0.118.0-dev.8) (2023-09-25)


### Bug Fixes

* **YouTube - Client spoof:** Display seekbar thumbnails in high quality ([f71c1a0](https://github.com/ReVanced/revanced-integrations/commit/f71c1a0c156b2320e06dd98b3e5b276560d438aa))

# [0.118.0-dev.7](https://github.com/ReVanced/revanced-integrations/compare/v0.118.0-dev.6...v0.118.0-dev.7) (2023-09-25)


### Bug Fixes

* Remove parameter from route ([4b0925e](https://github.com/ReVanced/revanced-integrations/commit/4b0925e33762c02e95ef9b1aadcae1038af71a50))

# [0.118.0-dev.6](https://github.com/ReVanced/revanced-integrations/compare/v0.118.0-dev.5...v0.118.0-dev.6) (2023-09-25)


### Performance Improvements

* Only request required fields ([d20b768](https://github.com/ReVanced/revanced-integrations/commit/d20b768bc23d167d9f0d2c651c75b3f92944e731))
* Remove unnecessary api key parameter ([ba5e7d8](https://github.com/ReVanced/revanced-integrations/commit/ba5e7d870ee88ad45c233d914e1e2795de920cb2))

# [0.118.0-dev.5](https://github.com/ReVanced/revanced-integrations/compare/v0.118.0-dev.4...v0.118.0-dev.5) (2023-09-25)


### Bug Fixes

* **YouTube - Client spoof:** Restore clipping videos functionality ([2cd1738](https://github.com/ReVanced/revanced-integrations/commit/2cd1738d2494add13c48b64ccc9aad2432b2d8e3))
* **YouTube - Client spoof:** Restore seekbar thumbnails ([978f630](https://github.com/ReVanced/revanced-integrations/commit/978f630c0267ec2b0d9bb9b5b0b3cdc9abef65ec))

# [0.118.0-dev.4](https://github.com/ReVanced/revanced-integrations/compare/v0.118.0-dev.3...v0.118.0-dev.4) (2023-09-23)


### Bug Fixes

* **YouTube - Client spoof:** Do not record feed videos to history by default ([#478](https://github.com/ReVanced/revanced-integrations/issues/478)) ([ef1cca0](https://github.com/ReVanced/revanced-integrations/commit/ef1cca02c165d9c24e64b43fae375ae57bf90a52))

# [0.118.0-dev.3](https://github.com/ReVanced/revanced-integrations/compare/v0.118.0-dev.2...v0.118.0-dev.3) (2023-09-19)


### Bug Fixes

* **YouTube:** fix old quality and custom speed not working on tablets ([#477](https://github.com/ReVanced/revanced-integrations/issues/477)) ([2352fa5](https://github.com/ReVanced/revanced-integrations/commit/2352fa542658035c5f4400fb5892217887710e4d))

# [0.118.0-dev.2](https://github.com/ReVanced/revanced-integrations/compare/v0.118.0-dev.1...v0.118.0-dev.2) (2023-09-14)


### Features

* **Twitch - Block embedded ads:** Switch from `ttv.lol` to `luminous.dev` ([2c34180](https://github.com/ReVanced/revanced-integrations/commit/2c3418041cf19ae4c1c7b67eda8398578384b753))

# [0.118.0-dev.1](https://github.com/ReVanced/revanced-integrations/compare/v0.117.2-dev.3...v0.118.0-dev.1) (2023-09-14)


### Features

* **TU Dortmund:** Add `Show on lockscreen` patch ([#472](https://github.com/ReVanced/revanced-integrations/issues/472)) ([526d66f](https://github.com/ReVanced/revanced-integrations/commit/526d66f6a91e0ed907db609a4adaa97f3239898b))

## [0.117.2-dev.3](https://github.com/ReVanced/revanced-integrations/compare/v0.117.2-dev.2...v0.117.2-dev.3) (2023-09-09)


### Bug Fixes

* **YouTube - ReturnYouTubeDislike:** Add debug logging to litho text ([#476](https://github.com/ReVanced/revanced-integrations/issues/476)) ([e3b8e8b](https://github.com/ReVanced/revanced-integrations/commit/e3b8e8be41796d0300c8421e28e5b8cf43ffb25e))

## [0.117.2-dev.2](https://github.com/ReVanced/revanced-integrations/compare/v0.117.2-dev.1...v0.117.2-dev.2) (2023-09-07)


### Bug Fixes

* **YouTube - Custom filter:** Use new lines between components instead of commas ([#475](https://github.com/ReVanced/revanced-integrations/issues/475)) ([17ed396](https://github.com/ReVanced/revanced-integrations/commit/17ed39673954a5b571bc1654be20afc235682ca4))

## [0.117.2-dev.1](https://github.com/ReVanced/revanced-integrations/compare/v0.117.1...v0.117.2-dev.1) (2023-09-07)


### Bug Fixes

* **YouTube - Hide layout components:** Always hide redundant 'player audio track' button ([#473](https://github.com/ReVanced/revanced-integrations/issues/473)) ([d86851b](https://github.com/ReVanced/revanced-integrations/commit/d86851baf1ef1993f5ba9543a4a3fe8d50c3a199))

## [0.117.1](https://github.com/ReVanced/revanced-integrations/compare/v0.117.0...v0.117.1) (2023-09-03)


Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
package app.revanced.integrations.patches;

import android.net.Uri;
import app.revanced.integrations.settings.SettingsEnum;
import app.revanced.integrations.utils.LogHelper;

public class BypassURLRedirectsPatch {
private static final String YOUTUBE_REDIRECT_PATH = "/redirect";

/**
* Convert the YouTube redirect URI string to the redirect query URI.
*
* @param uri The YouTube redirect URI string.
* @return The redirect query URI.
*/
public static Uri parseRedirectUri(String uri) {
final var parsed = Uri.parse(uri);

if (SettingsEnum.BYPASS_URL_REDIRECTS.getBoolean() && parsed.getPath().equals(YOUTUBE_REDIRECT_PATH)) {
var query = Uri.parse(Uri.decode(parsed.getQueryParameter("q")));

LogHelper.printDebug(() -> "Bypassing YouTube redirect URI: " + query);

return query;
}

return parsed;
}
}
Original file line number Diff line number Diff line change
@@ -1,32 +1,27 @@
package app.revanced.integrations.patches;

import static app.revanced.integrations.returnyoutubedislike.ReturnYouTubeDislike.Vote;

import android.graphics.Rect;
import android.os.Build;
import android.text.Editable;
import android.text.Spannable;
import android.text.SpannableString;
import android.text.Spanned;
import android.text.TextWatcher;
import android.text.*;
import android.view.View;
import android.widget.TextView;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

import java.lang.ref.WeakReference;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.atomic.AtomicReference;

import app.revanced.integrations.patches.spoof.SpoofAppVersionPatch;
import app.revanced.integrations.returnyoutubedislike.ReturnYouTubeDislike;
import app.revanced.integrations.returnyoutubedislike.requests.ReturnYouTubeDislikeApi;
import app.revanced.integrations.settings.SettingsEnum;
import app.revanced.integrations.shared.PlayerType;
import app.revanced.integrations.utils.LogHelper;
import app.revanced.integrations.utils.ReVancedUtils;

import java.lang.ref.WeakReference;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.atomic.AtomicReference;

import static app.revanced.integrations.returnyoutubedislike.ReturnYouTubeDislike.Vote;

/**
* Handles all interaction of UI patch components.
*
Expand Down Expand Up @@ -154,6 +149,8 @@ public static CharSequence onLithoTextLoaded(@NonNull Object conversionContext,
}

String conversionContextString = conversionContext.toString();
LogHelper.printDebug(() -> "conversionContext: " + conversionContextString);

final boolean isSegmentedButton;
if (conversionContextString.contains("|segmented_like_dislike_button.eml|")) {
isSegmentedButton = true;
Expand Down
Loading