Force red for factcheck.
This commit is contained in:
parent
923a9ec6a8
commit
a87a221f26
|
@ -783,7 +783,9 @@ void WebPage::draw(Painter &p, const PaintContext &context) const {
|
|||
const auto selected = context.selected();
|
||||
const auto view = parent();
|
||||
const auto from = view->data()->contentColorsFrom();
|
||||
const auto colorIndex = (sponsored && sponsored->colorIndex)
|
||||
const auto colorIndex = factcheckData()
|
||||
? 0 // red
|
||||
: (sponsored && sponsored->colorIndex)
|
||||
? sponsored->colorIndex
|
||||
: from
|
||||
? from->colorIndex()
|
||||
|
|
Loading…
Reference in New Issue