mirror of
https://github.com/revanced/revanced-integrations.git
synced 2025-01-23 02:07:33 +01:00
refactor(youtube/hide-info-cards): fix casing
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
This commit is contained in:
parent
2d73b8b29b
commit
5749a1dd65
@ -1,16 +1,15 @@
|
|||||||
package app.revanced.integrations.patches;
|
package app.revanced.integrations.patches;
|
||||||
|
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
|
|
||||||
import app.revanced.integrations.settings.SettingsEnum;
|
import app.revanced.integrations.settings.SettingsEnum;
|
||||||
|
|
||||||
public class HideInfocardsPatch {
|
public class HideInfoCardsPatch {
|
||||||
public static void hideInfocardsIncognito(View view) {
|
public static void hideInfoCardsIncognito(View view) {
|
||||||
if (!SettingsEnum.HIDE_INFO_CARDS.getBoolean()) return;
|
if (!SettingsEnum.HIDE_INFO_CARDS.getBoolean()) return;
|
||||||
view.setVisibility(View.GONE);
|
view.setVisibility(View.GONE);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static boolean hideInfocardsMethodCall() {
|
public static boolean hideInfoCardsMethodCall() {
|
||||||
return SettingsEnum.HIDE_INFO_CARDS.getBoolean();
|
return SettingsEnum.HIDE_INFO_CARDS.getBoolean();
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user