Rename UserProfileData-related symbols

This commit is contained in:
Bartłomiej Dach
2023-01-09 17:46:08 +01:00
parent fdf0d4bd62
commit 4dec3cae57
34 changed files with 106 additions and 106 deletions

View File

@ -11,7 +11,7 @@ namespace osu.Game.Overlays.Profile.Header.Components
{
public partial class FollowersButton : ProfileHeaderStatisticsButton
{
public readonly Bindable<UserProfileData?> UserProfile = new Bindable<UserProfileData?>();
public readonly Bindable<UserProfileData?> UserProfileData = new Bindable<UserProfileData?>();
public override LocalisableString TooltipText => FriendsStrings.ButtonsDisabled;
@ -21,7 +21,7 @@ namespace osu.Game.Overlays.Profile.Header.Components
private void load()
{
// todo: when friending/unfriending is implemented, the APIAccess.Friends list should be updated accordingly.
UserProfile.BindValueChanged(user => SetValue(user.NewValue?.User.FollowerCount ?? 0), true);
UserProfileData.BindValueChanged(data => SetValue(data.NewValue?.User.FollowerCount ?? 0), true);
}
}
}