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:
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 (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…
Reference in a new issue