Ensure Twitch username in UserCard uses display name from API (#2160)

This commit is contained in:
Paweł
2020-11-08 11:39:10 +01:00
committed by GitHub
parent 29d0ef6923
commit fbd5df53d8
3 changed files with 5 additions and 0 deletions
+2
View File
@@ -586,6 +586,8 @@ void UserInfoPopup::updateUserData()
{
return;
}
this->ui_.nameLabel->setText(user.displayName);
this->setWindowTitle(TEXT_TITLE.arg(user.displayName));
this->ui_.createdDateLabel->setText(
TEXT_CREATED.arg(user.createdAt.section("T", 0, 0)));
},