Improve device model name handling.

This commit is contained in:
John Preston 2021-11-25 15:44:30 +04:00
parent c947586091
commit 82e150a27e
2 changed files with 2 additions and 2 deletions

View file

@ -34,7 +34,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
namespace {
constexpr auto kSessionsShortPollTimeout = 60 * crl::time(1000);
constexpr auto kMaxDeviceModelLength = 16;
constexpr auto kMaxDeviceModelLength = 32;
void RenameBox(not_null<Ui::GenericBox*> box) {
box->setTitle(tr::lng_settings_rename_device_title());

@ -1 +1 @@
Subproject commit 29ecc271c04e71eecf88ac2f9ed1c110955e0be9
Subproject commit e77f08a91a736b479e292092aca7a1ba56516076