mirror of
https://github.com/revanced/revanced-integrations.git
synced 2025-01-31 14:17:31 +01:00
refactor(youtube/settings): increase fingerprint robustness
This commit is contained in:
parent
b47a781ba7
commit
6d32f1ebc2
@ -3,13 +3,6 @@ package app.revanced.integrations.utils;
|
||||
public class ThemeHelper {
|
||||
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) {
|
||||
final int newOrdinalValue = ((Enum) value).ordinal();
|
||||
if (themeValue != newOrdinalValue) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user