fix: Add back missing class

This commit is contained in:
oSumAtrIX 2023-08-27 05:15:42 +02:00
parent 90a7e604d3
commit 6e8d13bfbb
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4

View File

@ -0,0 +1,12 @@
package app.revanced.integrations.patches;
import android.widget.ImageView;
import app.revanced.integrations.settings.SettingsEnum;
public class HidePlayerOverlayPatch {
public static void hidePlayerOverlay(ImageView view) {
if (!SettingsEnum.HIDE_PLAYER_OVERLAY.getBoolean()) return;
view.setImageResource(android.R.color.transparent);
}
}