mirror of
https://github.com/YTVanced/Integrations
synced 2024-11-30 23:23:02 +00:00
fix another issue with buttons
This commit is contained in:
parent
1c35e049ab
commit
ac46231f24
2 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue