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:
parent
e4fb9b4dd3
commit
b8c63e7944
@ -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;
|
||||
|
@ -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)]
|
||||
|
Loading…
Reference in New Issue
Block a user