1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 21:02:54 +08:00

Apply review suggestions.

This commit is contained in:
Lucas A 2020-11-09 13:39:50 +01:00
parent e4fb9b4dd3
commit b8c63e7944
2 changed files with 2 additions and 3 deletions

View File

@ -137,7 +137,7 @@ namespace osu.Desktop
return edit.Beatmap.ToString();
case UserActivity.InLobby lobby:
return lobby.Room.Name.ToString();
return lobby.Room.Name.Value;
}
return string.Empty;

View File

@ -65,7 +65,7 @@ namespace osu.Game.Screens
/// <summary>
/// The current <see cref="UserActivity"/> for this screen.
/// </summary>
protected readonly Bindable<UserActivity> Activity;
protected readonly Bindable<UserActivity> Activity = new Bindable<UserActivity>();
IBindable<UserActivity> IOsuScreen.Activity => Activity;
@ -130,7 +130,6 @@ namespace osu.Game.Screens
Origin = Anchor.Centre;
OverlayActivationMode = new Bindable<OverlayActivation>(InitialOverlayActivationMode);
Activity = new Bindable<UserActivity>();
}
[BackgroundDependencyLoader(true)]