0
0
Fork 0
mirror of https://github.com/YTVanced/Integrations synced 2024-11-30 15:13:03 +00:00

fix another issue with buttons

This commit is contained in:
caneleex 2021-04-29 12:35:01 +02:00
parent 1c35e049ab
commit ac46231f24
2 changed files with 2 additions and 2 deletions

View file

@ -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) {

View file

@ -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) {