mirror of
https://github.com/wrwrabbit/Partisan-Telegram-Android.git
synced 2026-05-09 19:50:12 +00:00
Update to 5.13.1 (1825)
This commit is contained in:
parent
44dadb1055
commit
76be9be855
4 changed files with 13 additions and 12 deletions
|
|
@ -1164,14 +1164,14 @@ public class ArticleViewer implements NotificationCenter.NotificationCenterDeleg
|
|||
int color2 = Theme.getColor(Theme.key_windowBackgroundWhite);
|
||||
float lightness = (0.2126f * Color.red(color2) + 0.7152f * Color.green(color2) + 0.0722f * Color.blue(color2)) / 255.0f;
|
||||
webpageSearchPaint.setColor(lightness <= 0.705f ? 0xffd1982e : 0xffffe669);
|
||||
webpageUrlPaint.setColor(Theme.getColor(Theme.key_windowBackgroundWhiteLinkSelection));
|
||||
urlPaint.setColor(Theme.getColor(Theme.key_windowBackgroundWhiteLinkSelection));
|
||||
webpageUrlPaint.setColor(Theme.getColor(Theme.key_windowBackgroundWhiteLinkSelection) & 0x33ffffff);
|
||||
urlPaint.setColor(Theme.getColor(Theme.key_windowBackgroundWhiteLinkSelection) & 0x33ffffff);
|
||||
tableHalfLinePaint.setColor(Theme.getColor(Theme.key_windowBackgroundWhiteInputField));
|
||||
tableLinePaint.setColor(Theme.getColor(Theme.key_windowBackgroundWhiteInputField));
|
||||
|
||||
photoBackgroundPaint.setColor(0x0f000000);
|
||||
dividerPaint.setColor(Theme.getColor(Theme.key_divider));
|
||||
webpageMarkPaint.setColor(Theme.getColor(Theme.key_windowBackgroundWhiteLinkSelection));
|
||||
webpageMarkPaint.setColor(Theme.getColor(Theme.key_windowBackgroundWhiteLinkSelection) & 0x33ffffff);
|
||||
|
||||
int color = Theme.getColor(Theme.key_switchTrack);
|
||||
int r = Color.red(color);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue