diff --git a/Telegram/Resources/night-custom-base.tdesktop-theme b/Telegram/Resources/night-custom-base.tdesktop-theme index e651fa9cc0..5fc6424ae9 100644 Binary files a/Telegram/Resources/night-custom-base.tdesktop-theme and b/Telegram/Resources/night-custom-base.tdesktop-theme differ diff --git a/Telegram/Resources/night-green.tdesktop-theme b/Telegram/Resources/night-green.tdesktop-theme index 1647e4654e..a60d844be5 100644 Binary files a/Telegram/Resources/night-green.tdesktop-theme and b/Telegram/Resources/night-green.tdesktop-theme differ diff --git a/Telegram/Resources/night.tdesktop-theme b/Telegram/Resources/night.tdesktop-theme index fcb8dc8d64..96f788d13e 100644 Binary files a/Telegram/Resources/night.tdesktop-theme and b/Telegram/Resources/night.tdesktop-theme differ diff --git a/Telegram/SourceFiles/statistics/chart_lines_filter_widget.cpp b/Telegram/SourceFiles/statistics/chart_lines_filter_widget.cpp index c565c00dea..582a97fe48 100644 --- a/Telegram/SourceFiles/statistics/chart_lines_filter_widget.cpp +++ b/Telegram/SourceFiles/statistics/chart_lines_filter_widget.cpp @@ -35,6 +35,7 @@ protected: void paintEvent(QPaintEvent *e) override; private: + const QColor _inactiveTextColor; const QColor _activeColor; const QColor _inactiveColor; Ui::Text::String _text; @@ -55,6 +56,7 @@ ChartLinesFilterWidget::FlatCheckbox::FlatCheckbox( const QString &text, QColor activeColor) : Ui::AbstractButton(parent) +, _inactiveTextColor(st::premiumButtonFg->c) , _activeColor(activeColor) , _inactiveColor(st::boxBg->c) , _text(st::statisticsDetailsPopupStyle, text) { @@ -139,8 +141,8 @@ void ChartLinesFilterWidget::FlatCheckbox::paintEvent(QPaintEvent *e) { constexpr auto kCheckPartProgress = 0.5; const auto checkProgress = progress / kCheckPartProgress; const auto textColor = (progress <= kCheckPartProgress) - ? anim::color(_activeColor, _inactiveColor, checkProgress) - : _inactiveColor; + ? anim::color(_activeColor, _inactiveTextColor, checkProgress) + : _inactiveTextColor; const auto fillColor = (progress <= kCheckPartProgress) ? anim::color(_inactiveColor, _activeColor, checkProgress) : _activeColor;