mirror of
https://github.com/revanced/revanced-integrations.git
synced 2025-01-21 01:07:32 +01:00
chore: merge branch dev
to main
(#467)
This commit is contained in:
commit
ca4927e2a9
@ -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);
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user