mirror of
https://github.com/ppy/osu.git
synced 2025-01-27 15:53:19 +08:00
Apply review suggestions.
This commit is contained in:
parent
e4fb9b4dd3
commit
b8c63e7944
@ -137,7 +137,7 @@ namespace osu.Desktop
|
|||||||
return edit.Beatmap.ToString();
|
return edit.Beatmap.ToString();
|
||||||
|
|
||||||
case UserActivity.InLobby lobby:
|
case UserActivity.InLobby lobby:
|
||||||
return lobby.Room.Name.ToString();
|
return lobby.Room.Name.Value;
|
||||||
}
|
}
|
||||||
|
|
||||||
return string.Empty;
|
return string.Empty;
|
||||||
|
@ -65,7 +65,7 @@ namespace osu.Game.Screens
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// The current <see cref="UserActivity"/> for this screen.
|
/// The current <see cref="UserActivity"/> for this screen.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected readonly Bindable<UserActivity> Activity;
|
protected readonly Bindable<UserActivity> Activity = new Bindable<UserActivity>();
|
||||||
|
|
||||||
IBindable<UserActivity> IOsuScreen.Activity => Activity;
|
IBindable<UserActivity> IOsuScreen.Activity => Activity;
|
||||||
|
|
||||||
@ -130,7 +130,6 @@ namespace osu.Game.Screens
|
|||||||
Origin = Anchor.Centre;
|
Origin = Anchor.Centre;
|
||||||
|
|
||||||
OverlayActivationMode = new Bindable<OverlayActivation>(InitialOverlayActivationMode);
|
OverlayActivationMode = new Bindable<OverlayActivation>(InitialOverlayActivationMode);
|
||||||
Activity = new Bindable<UserActivity>();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[BackgroundDependencyLoader(true)]
|
[BackgroundDependencyLoader(true)]
|
||||||
|
Loading…
Reference in New Issue
Block a user