mirror of
https://github.com/revanced/revanced-integrations.git
synced 2024-12-30 14:45:48 +01:00
fix(youtube/theme): return correct color value (#202)
This commit is contained in:
parent
9e5e81875a
commit
f8cb38e57a
@ -24,7 +24,7 @@ public class LithoThemePatch {
|
|||||||
var isDarkTheme = ThemeHelper.isDarkTheme();
|
var isDarkTheme = ThemeHelper.isDarkTheme();
|
||||||
|
|
||||||
if ((isDarkTheme && anyEquals(originalValue, DARKCONSTANTS)) || (!isDarkTheme && anyEquals(originalValue, WHITECONSTANTS)))
|
if ((isDarkTheme && anyEquals(originalValue, DARKCONSTANTS)) || (!isDarkTheme && anyEquals(originalValue, WHITECONSTANTS)))
|
||||||
return 0;
|
return -16777215;
|
||||||
return originalValue;
|
return originalValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user