mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Move some text formatting to tg_ui:ui/text/format_values.
This commit is contained in:
@@ -15,6 +15,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
#include "ui/widgets/checkbox.h"
|
||||
#include "ui/widgets/buttons.h"
|
||||
#include "ui/text/text_utilities.h" // Ui::Text::ToUpper
|
||||
#include "ui/text/format_values.h"
|
||||
#include "boxes/connection_box.h"
|
||||
#include "boxes/about_box.h"
|
||||
#include "boxes/confirm_box.h"
|
||||
@@ -30,7 +31,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
#include "main/main_account.h"
|
||||
#include "main/main_session.h"
|
||||
#include "mtproto/facade.h"
|
||||
#include "layout.h"
|
||||
#include "facades.h"
|
||||
#include "app.h"
|
||||
#include "styles/style_settings.h"
|
||||
@@ -136,7 +136,7 @@ void SetupUpdate(not_null<Ui::VerticalLayout*> container) {
|
||||
texts->fire(tr::lng_settings_downloading_update(
|
||||
tr::now,
|
||||
lt_progress,
|
||||
formatDownloadText(ready, total)));
|
||||
Ui::FormatDownloadText(ready, total)));
|
||||
downloading->fire(true);
|
||||
};
|
||||
const auto setDefaultStatus = [=](const Core::UpdateChecker &checker) {
|
||||
|
Reference in New Issue
Block a user