mirror of
https://github.com/revanced/revanced-integrations.git
synced 2025-01-23 02:07:33 +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 (visible && shouldBeShown()) {
|
||||
if (getLastKnownVideoTime() == getCurrentVideoLength()) {
|
||||
if (getLastKnownVideoTime() >= getCurrentVideoLength()) {
|
||||
return;
|
||||
}
|
||||
if (debug) {
|
||||
|
@ -81,7 +81,7 @@ public class VotingButton {
|
||||
if (_youtubeControlsLayout == null || iView == null) return;
|
||||
|
||||
if (visible && shouldBeShown()) {
|
||||
if (getLastKnownVideoTime() == getCurrentVideoLength()) {
|
||||
if (getLastKnownVideoTime() >= getCurrentVideoLength()) {
|
||||
return;
|
||||
}
|
||||
if (debug) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user