2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Move some chat styles from basic.style to chat.style.

This commit is contained in:
John Preston
2022-09-30 11:25:02 +04:00
parent ba2f92906b
commit b13471672d
25 changed files with 196 additions and 37 deletions

View File

@@ -488,7 +488,7 @@ void MainMenu::moveBadge() {
_badge->move(
left,
st::mainMenuCoverNameTop,
st::mainMenuCoverNameTop + st::msgNameStyle.font->height);
st::mainMenuCoverNameTop + st::semiboldFont->height);
}
void MainMenu::setupArchive() {
@@ -830,7 +830,7 @@ void MainMenu::paintEvent(QPaintEvent *e) {
if (_nameVersion < user->nameVersion()) {
_nameVersion = user->nameVersion();
_name.setText(
st::msgNameStyle,
st::semiboldTextStyle,
user->name(),
Ui::NameTextOptions());
moveBadge();