2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 22:16:14 +00:00

Moved plus icon to settings style file.

This commit is contained in:
23rd
2022-05-03 21:11:47 +03:00
parent 767459ab57
commit cd50008429
3 changed files with 4 additions and 5 deletions

View File

@@ -517,7 +517,7 @@ void SetupAccountsWrap(
raw->heightValue(
) | rpl::start_with_next([=](int height) {
const auto left = st::mainMenuAddAccountButton.iconLeft
+ (st::mainMenuAddAccount.width() - userpicSize) / 2;
+ (st::settingsIconAdd.width() - userpicSize) / 2;
const auto top = (height - userpicSize) / 2;
state->userpic.setGeometry(left, top, userpicSize, userpicSize);
}, state->userpic.lifetime());
@@ -684,7 +684,7 @@ not_null<Ui::SlideWrap<Ui::SettingsButton>*> AccountsList::setupAdd() {
tr::lng_menu_add_account(),
st::mainMenuAddAccountButton,
{
&st::mainMenuAddAccount,
&st::settingsIconAdd,
0,
IconType::Round,
&st::windowBgActive