fix(hide-time-and-seekbar): don't draw the seekbar (#154)

This commit is contained in:
OxrxL 2022-09-23 12:51:30 +02:00 committed by GitHub
parent ae8d39a831
commit f1e9aa30ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -265,7 +265,7 @@ public class PlayerController {
}
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");