mirror of
https://github.com/revanced/revanced-integrations.git
synced 2025-02-02 07:07:31 +01:00
fix another issue with buttons
This commit is contained in:
parent
974c2733a8
commit
087b80cf8e
@ -81,7 +81,7 @@ public class ShieldButton {
|
|||||||
if (_youtubeControlsLayout == null || iView == null) return;
|
if (_youtubeControlsLayout == null || iView == null) return;
|
||||||
|
|
||||||
if (visible && shouldBeShown()) {
|
if (visible && shouldBeShown()) {
|
||||||
if (getLastKnownVideoTime() == getCurrentVideoLength()) {
|
if (getLastKnownVideoTime() >= getCurrentVideoLength()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (debug) {
|
if (debug) {
|
||||||
|
@ -81,7 +81,7 @@ public class VotingButton {
|
|||||||
if (_youtubeControlsLayout == null || iView == null) return;
|
if (_youtubeControlsLayout == null || iView == null) return;
|
||||||
|
|
||||||
if (visible && shouldBeShown()) {
|
if (visible && shouldBeShown()) {
|
||||||
if (getLastKnownVideoTime() == getCurrentVideoLength()) {
|
if (getLastKnownVideoTime() >= getCurrentVideoLength()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (debug) {
|
if (debug) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user