2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +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

@@ -13,11 +13,11 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "ui/wrap/slide_wrap.h"
#include "ui/widgets/labels.h"
#include "ui/widgets/checkbox.h"
#include "ui/text/text_utilities.h" // Ui::Text::ToUpper
#include "boxes/connection_box.h"
#include "boxes/about_box.h"
#include "boxes/confirm_box.h"
#include "info/profile/info_profile_button.h"
#include "info/profile/info_profile_values.h"
#include "platform/platform_specific.h"
#include "platform/platform_info.h"
#include "lang/lang_keys.h"
@@ -111,7 +111,7 @@ void SetupUpdate(not_null<Ui::VerticalLayout*> container) {
st::settingsButton);
const auto update = Ui::CreateChild<Button>(
check.get(),
Lang::Viewer(lng_update_telegram) | Info::Profile::ToUpperValue(),
Lang::Viewer(lng_update_telegram) | Ui::Text::ToUpper(),
st::settingsUpdate);
update->hide();
check->widthValue() | rpl::start_with_next([=](int width) {