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

Moved App::formatPhone to td_ui.

This commit is contained in:
23rd
2021-07-26 09:32:16 +03:00
parent a14f2144e1
commit 024bb5e54f
22 changed files with 81 additions and 70 deletions

View File

@@ -20,6 +20,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "ui/widgets/shadow.h"
#include "ui/wrap/slide_wrap.h"
#include "ui/wrap/vertical_layout.h"
#include "ui/text/format_values.h" // Ui::FormatPhone
#include "ui/text/text_utilities.h"
#include "ui/special_buttons.h"
#include "ui/empty_userpic.h"
@@ -1084,7 +1085,7 @@ void MainMenu::updateInnerControlsGeometry() {
}
void MainMenu::updatePhone() {
_phoneText = App::formatPhone(_controller->session().user()->phone());
_phoneText = Ui::FormatPhone(_controller->session().user()->phone());
update();
}