mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Set name / phone texts on-demand.
This commit is contained in:
@@ -599,11 +599,11 @@ void SetupAccountsWrap(
|
||||
const auto user = session->user();
|
||||
|
||||
auto text = rpl::single(
|
||||
user->name
|
||||
user->name()
|
||||
) | rpl::then(session->changes().realtimeNameUpdates(
|
||||
user
|
||||
) | rpl::map([=] {
|
||||
return user->name;
|
||||
return user->name();
|
||||
}));
|
||||
auto result = object_ptr<Ui::SettingsButton>(
|
||||
parent,
|
||||
|
Reference in New Issue
Block a user