mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Force red for factcheck.
This commit is contained in:
parent
923a9ec6a8
commit
a87a221f26
1 changed files with 3 additions and 1 deletions
|
@ -783,7 +783,9 @@ void WebPage::draw(Painter &p, const PaintContext &context) const {
|
||||||
const auto selected = context.selected();
|
const auto selected = context.selected();
|
||||||
const auto view = parent();
|
const auto view = parent();
|
||||||
const auto from = view->data()->contentColorsFrom();
|
const auto from = view->data()->contentColorsFrom();
|
||||||
const auto colorIndex = (sponsored && sponsored->colorIndex)
|
const auto colorIndex = factcheckData()
|
||||||
|
? 0 // red
|
||||||
|
: (sponsored && sponsored->colorIndex)
|
||||||
? sponsored->colorIndex
|
? sponsored->colorIndex
|
||||||
: from
|
: from
|
||||||
? from->colorIndex()
|
? from->colorIndex()
|
||||||
|
|
Loading…
Add table
Reference in a new issue