1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-18 03:47:04 +08:00

Fix one more missed related symbol

This commit is contained in:
Bartłomiej Dach
2023-01-09 18:22:49 +01:00
Unverified
parent 0026861bd4
commit 6027e7cc4e
3 changed files with 6 additions and 6 deletions
@@ -41,7 +41,7 @@ namespace osu.Game.Overlays.Profile.Sections.Historical
protected override void LoadComplete()
{
base.LoadComplete();
UserProfile.BindValueChanged(onUserChanged, true);
UserProfileData.BindValueChanged(onUserChanged, true);
}
private void onUserChanged(ValueChangedEvent<UserProfileData?> e)
@@ -89,7 +89,7 @@ namespace osu.Game.Overlays.Profile.Sections
protected override void LoadComplete()
{
base.LoadComplete();
UserProfile.BindValueChanged(onUserChanged, true);
UserProfileData.BindValueChanged(onUserChanged, true);
}
private void onUserChanged(ValueChangedEvent<UserProfileData?> e)
@@ -109,14 +109,14 @@ namespace osu.Game.Overlays.Profile.Sections
private void showMore()
{
if (UserProfile.Value?.User == null)
if (UserProfileData.Value?.User == null)
return;
loadCancellation = new CancellationTokenSource();
CurrentPage = CurrentPage?.TakeNext(ItemsPerPage) ?? new PaginationParameters(InitialItemsCount);
retrievalRequest = CreateRequest(UserProfile.Value.User, CurrentPage.Value);
retrievalRequest = CreateRequest(UserProfileData.Value.User, CurrentPage.Value);
retrievalRequest.Success += items => UpdateItems(items, loadCancellation);
api.Queue(retrievalRequest);
@@ -11,7 +11,7 @@ namespace osu.Game.Overlays.Profile.Sections
{
public abstract partial class ProfileSubsection : FillFlowContainer
{
protected readonly Bindable<UserProfileData?> UserProfile = new Bindable<UserProfileData?>();
protected readonly Bindable<UserProfileData?> UserProfileData = new Bindable<UserProfileData?>();
private readonly LocalisableString headerText;
private readonly CounterVisibilityState counterVisibilityState;
@@ -22,7 +22,7 @@ namespace osu.Game.Overlays.Profile.Sections
{
this.headerText = headerText ?? string.Empty;
this.counterVisibilityState = counterVisibilityState;
UserProfile.BindTo(userProfileData);
UserProfileData.BindTo(userProfileData);
}
[BackgroundDependencyLoader]