mirror of
https://github.com/revanced/revanced-integrations.git
synced 2024-08-30 11:05:15 +02:00
feat(youtube/return-youtube-dislike): better matching color for separators (#281)
This commit is contained in:
parent
d076fe0dce
commit
2a16da15d9
@ -292,7 +292,7 @@ public class ReturnYouTubeDislike {
|
|||||||
Spannable leftSeparatorSpan = newSpanUsingStylingOfAnotherSpan(oldSpannable, leftSegmentedSeparatorString);
|
Spannable leftSeparatorSpan = newSpanUsingStylingOfAnotherSpan(oldSpannable, leftSegmentedSeparatorString);
|
||||||
Spannable middleSeparatorSpan = newSpanUsingStylingOfAnotherSpan(oldSpannable, middleSegmentedSeparatorString);
|
Spannable middleSeparatorSpan = newSpanUsingStylingOfAnotherSpan(oldSpannable, middleSegmentedSeparatorString);
|
||||||
final int separatorColor = ThemeHelper.isDarkTheme()
|
final int separatorColor = ThemeHelper.isDarkTheme()
|
||||||
? 0x37A0A0A0 // transparent dark gray
|
? 0x29AAAAAA // transparent dark gray
|
||||||
: 0xFFD9D9D9; // light gray
|
: 0xFFD9D9D9; // light gray
|
||||||
addSpanStyling(leftSeparatorSpan, new ForegroundColorSpan(separatorColor));
|
addSpanStyling(leftSeparatorSpan, new ForegroundColorSpan(separatorColor));
|
||||||
addSpanStyling(middleSeparatorSpan, new ForegroundColorSpan(separatorColor));
|
addSpanStyling(middleSeparatorSpan, new ForegroundColorSpan(separatorColor));
|
||||||
|
Loading…
Reference in New Issue
Block a user