From 6e8fb2ec069d536bce44016e467d4edb09bffe51 Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Tue, 10 May 2022 07:17:46 +0300 Subject: [PATCH] Returned ability to copy phone number from main settings. --- Telegram/SourceFiles/settings/settings_main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Telegram/SourceFiles/settings/settings_main.cpp b/Telegram/SourceFiles/settings/settings_main.cpp index 0c26441983..ee938bbb68 100644 --- a/Telegram/SourceFiles/settings/settings_main.cpp +++ b/Telegram/SourceFiles/settings/settings_main.cpp @@ -115,6 +115,9 @@ Cover::Cover( _name->setSelectable(true); _name->setContextCopyText(tr::lng_profile_copy_fullname(tr::now)); + _phone->setSelectable(true); + _phone->setContextCopyText(tr::lng_profile_copy_phone(tr::now)); + initViewers(); setupChildGeometry();