2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Rename Dialogs::Layout to Dialogs::Ui.

This commit is contained in:
John Preston
2021-10-01 14:57:24 +04:00
parent b78b27f517
commit 5136cc3c9c
10 changed files with 59 additions and 56 deletions

View File

@@ -97,12 +97,12 @@ void HistoryDownButton::paintEvent(QPaintEvent *e) {
if (_unreadCount > 0) {
auto unreadString = QString::number(_unreadCount);
Dialogs::Layout::UnreadBadgeStyle st;
Dialogs::Ui::UnreadBadgeStyle st;
st.align = style::al_center;
st.font = st::historyToDownBadgeFont;
st.size = st::historyToDownBadgeSize;
st.sizeId = Dialogs::Layout::UnreadBadgeInHistoryToDown;
Dialogs::Layout::paintUnreadCount(p, unreadString, width(), 0, st, nullptr, 4);
st.sizeId = Dialogs::Ui::UnreadBadgeInHistoryToDown;
Dialogs::Ui::paintUnreadCount(p, unreadString, width(), 0, st, nullptr, 4);
}
}