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