refactor(youtube/settings): increase fingerprint robustness

This commit is contained in:
oSumAtrIX 2023-05-18 17:34:59 +02:00
parent b47a781ba7
commit 6d32f1ebc2

View File

@ -3,13 +3,6 @@ package app.revanced.integrations.utils;
public class ThemeHelper { public class ThemeHelper {
private static int themeValue; private static int themeValue;
public static void setTheme(int value) {
if (themeValue != value) {
themeValue = value;
LogHelper.printDebug(() -> "Theme value: " + themeValue);
}
}
public static void setTheme(Object value) { public static void setTheme(Object value) {
final int newOrdinalValue = ((Enum) value).ordinal(); final int newOrdinalValue = ((Enum) value).ordinal();
if (themeValue != newOrdinalValue) { if (themeValue != newOrdinalValue) {