mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-01 06:55:58 +00:00
Fixed display of working hours in profiles.
This commit is contained in:
@@ -1118,7 +1118,7 @@ object_ptr<Ui::RpWidget> DetailsFiller::setupInfo() {
|
||||
usernameLine.subtext->overrideLinkClickHandler(callback);
|
||||
usernameLine.text->setContextMenuHook(hook);
|
||||
usernameLine.subtext->setContextMenuHook(hook);
|
||||
if (user) {
|
||||
|
||||
const auto copyUsername = Ui::CreateChild<Ui::IconButton>(
|
||||
usernameLine.text->parentWidget(),
|
||||
st::infoProfileLabeledButtonQr);
|
||||
@@ -1128,7 +1128,8 @@ object_ptr<Ui::RpWidget> DetailsFiller::setupInfo() {
|
||||
Box(Ui::FillPeerQrBox, user, std::nullopt, nullptr));
|
||||
return false;
|
||||
});
|
||||
} else {
|
||||
|
||||
if (!user->isBot()) {
|
||||
tracker.track(result->add(
|
||||
CreateBirthday(result, controller, user)));
|
||||
tracker.track(result->add(CreateWorkingHours(result, user)));
|
||||
|
Reference in New Issue
Block a user