Skip to content

Commit

Permalink
fix(hide-time-and-seekbar): don't draw the seekbar (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
OxrxL committed Sep 23, 2022
1 parent ae8d39a commit f1e9aa3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ public static void setSponsorBarAbsoluteLeft(final float left) {
}

public static void setSponsorBarRect(final Object self) {
if (SettingsEnum.shorts_playing) return;
if (SettingsEnum.shorts_playing || self == null) return;

try {
Field field = self.getClass().getDeclaredField("replaceMeWithsetSponsorBarRect");
Expand Down

0 comments on commit f1e9aa3

Please sign in to comment.