1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-14 23:23:20 +08:00

Fix one more missed related symbol

This commit is contained in:
Bartłomiej Dach 2023-01-09 18:22:49 +01:00
parent 0026861bd4
commit 6027e7cc4e
No known key found for this signature in database
3 changed files with 6 additions and 6 deletions

View File

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

View File

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

View File

@ -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]