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

Remove Info::Profile::ToUpperValue.

This commit is contained in:
John Preston
2019-06-17 18:59:43 +02:00
parent 87cb0ada98
commit faa42110ac
11 changed files with 24 additions and 29 deletions

View File

@@ -18,6 +18,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "ui/widgets/shadow.h"
#include "ui/widgets/labels.h"
#include "ui/toast/toast.h"
#include "ui/text/text_utilities.h" // Ui::Text::ToUpper
#include "boxes/abstract_box.h"
#include "boxes/confirm_box.h"
#include "boxes/peer_list_box.h"
@@ -96,7 +97,7 @@ auto AddMainButton(
Ui::MultiSlideTracker &tracker) {
tracker.track(AddActionButton(
parent,
std::move(text) | ToUpperValue(),
std::move(text) | Ui::Text::ToUpper(),
std::move(toggleOn),
std::move(callback),
st::infoMainButton));