2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-05 09:05:14 +00:00

Improve Ui::Text::String features.

This commit is contained in:
John Preston
2023-10-03 17:50:33 +04:00
parent 2b3f17e982
commit 396c229a4d
31 changed files with 85 additions and 82 deletions

View File

@@ -194,7 +194,7 @@ not_null<Ui::FlatLabel*> CreateWarningLabel(
if (value >= 0) {
result->setText(QString::number(value));
} else {
result->setMarkedText(Ui::Text::PlainLink(
result->setMarkedText(Ui::Text::Colorized(
QString::number(value)));
}
result->setVisible(shown);