fix another issue with buttons

This commit is contained in:
caneleex 2021-04-29 12:35:01 +02:00
parent 974c2733a8
commit 087b80cf8e
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) {