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:
parent
0026861bd4
commit
6027e7cc4e
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user