mirror of
https://github.com/revanced/revanced-integrations.git
synced 2025-02-02 15:17:32 +01:00
remove unnecessary check
This commit is contained in:
parent
bf6c9e7b28
commit
1ffb7872c0
@ -296,7 +296,7 @@ public abstract class SponsorBlockUtils {
|
|||||||
|
|
||||||
public static void showShieldButton() {
|
public static void showShieldButton() {
|
||||||
View i = ShieldButton._shieldBtn.get();
|
View i = ShieldButton._shieldBtn.get();
|
||||||
if (i == null || i.isShown() || !ShieldButton.shouldBeShown()) return;
|
if (i == null || !ShieldButton.shouldBeShown()) return;
|
||||||
i.setVisibility(VISIBLE);
|
i.setVisibility(VISIBLE);
|
||||||
i.bringToFront();
|
i.bringToFront();
|
||||||
i.requestLayout();
|
i.requestLayout();
|
||||||
@ -311,7 +311,7 @@ public abstract class SponsorBlockUtils {
|
|||||||
|
|
||||||
public static void showVoteButton() {
|
public static void showVoteButton() {
|
||||||
View i = VotingButton._votingButton.get();
|
View i = VotingButton._votingButton.get();
|
||||||
if (i == null || i.isShown() || !VotingButton.shouldBeShown()) return;
|
if (i == null || !VotingButton.shouldBeShown()) return;
|
||||||
i.setVisibility(VISIBLE);
|
i.setVisibility(VISIBLE);
|
||||||
i.bringToFront();
|
i.bringToFront();
|
||||||
i.requestLayout();
|
i.requestLayout();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user