change todoreturn to void

This commit is contained in:
dankmeme01 2024-03-12 13:36:47 +01:00
parent a7909938c8
commit b7202f5409

View file

@ -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);