Skip to content

Commit

Permalink
feat(youtube/return-youtube-dislike): better matching color for separ…
Browse files Browse the repository at this point in the history
…ators (#281)
  • Loading branch information
LisoUseInAIKyrios committed Jan 8, 2023
1 parent d076fe0 commit 2a16da1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ private static boolean updateDislike(AtomicReference<Object> textRef, boolean is
Spannable leftSeparatorSpan = newSpanUsingStylingOfAnotherSpan(oldSpannable, leftSegmentedSeparatorString);
Spannable middleSeparatorSpan = newSpanUsingStylingOfAnotherSpan(oldSpannable, middleSegmentedSeparatorString);
final int separatorColor = ThemeHelper.isDarkTheme()
? 0x37A0A0A0 // transparent dark gray
? 0x29AAAAAA // transparent dark gray
: 0xFFD9D9D9; // light gray
addSpanStyling(leftSeparatorSpan, new ForegroundColorSpan(separatorColor));
addSpanStyling(middleSeparatorSpan, new ForegroundColorSpan(separatorColor));
Expand Down

0 comments on commit 2a16da1

Please sign in to comment.