mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-26 17:36:05 -05:00
change todoreturn to void
This commit is contained in:
parent
a7909938c8
commit
b7202f5409
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ using namespace geode::prelude;
|
||||||
struct CustomProfilePage : Modify<CustomProfilePage, ProfilePage> {
|
struct CustomProfilePage : Modify<CustomProfilePage, ProfilePage> {
|
||||||
GEODE_FORWARD_COMPAT_DISABLE_HOOKS("ProfilePage fix")
|
GEODE_FORWARD_COMPAT_DISABLE_HOOKS("ProfilePage fix")
|
||||||
|
|
||||||
virtual TodoReturn getUserInfoFinished(GJUserScore* info) {
|
virtual void getUserInfoFinished(GJUserScore* info) {
|
||||||
m_usernameLabel->setString(info->m_userName.c_str());
|
m_usernameLabel->setString(info->m_userName.c_str());
|
||||||
m_usernameLabel->limitLabelWidth(info->m_modBadge > 0 ? 140.f : 160.0f, 0.8f, 0.0f);
|
m_usernameLabel->limitLabelWidth(info->m_modBadge > 0 ? 140.f : 160.0f, 0.8f, 0.0f);
|
||||||
ProfilePage::getUserInfoFinished(info);
|
ProfilePage::getUserInfoFinished(info);
|
||||||
|
|
Loading…
Reference in a new issue