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:
@@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user