2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-05 08:55:59 +00:00

Use new toast style structure.

This commit is contained in:
John Preston
2020-04-29 18:52:40 +04:00
parent 8a4c7e3994
commit dd78052f92
12 changed files with 78 additions and 59 deletions

View File

@@ -828,7 +828,7 @@ void ForwardsPrivacyController::PaintForwardedTooltip(
}
Unexpected("Option value in ForwardsPrivacyController.");
}();
const auto &font = st::toastTextStyle.font;
const auto &font = st::defaultToast.style.font;
const auto textWidth = font->width(text);
const auto arrowSkip = st::settingsForwardPrivacyArrowSkip;
const auto arrowSize = st::settingsForwardPrivacyArrowSize;