mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 07:33:55 +09:00
Merge branch 'master' into muted-notification
This commit is contained in:
@ -75,7 +75,7 @@ namespace osu.Game.Overlays
|
||||
/// <summary>
|
||||
/// Returns whether the current beatmap track is playing.
|
||||
/// </summary>
|
||||
public bool IsPlaying => beatmap.Value.Track.IsRunning;
|
||||
public bool IsPlaying => beatmap.Value?.Track.IsRunning ?? false;
|
||||
|
||||
private void handleBeatmapAdded(BeatmapSetInfo set) =>
|
||||
Schedule(() => beatmapSets.Add(set));
|
||||
|
@ -44,16 +44,21 @@ namespace osu.Game.Overlays
|
||||
Clear();
|
||||
lastSection = null;
|
||||
|
||||
sections = new ProfileSection[]
|
||||
{
|
||||
//new AboutSection(),
|
||||
new RecentSection(),
|
||||
new RanksSection(),
|
||||
//new MedalsSection(),
|
||||
new HistoricalSection(),
|
||||
new BeatmapsSection(),
|
||||
new KudosuSection()
|
||||
};
|
||||
sections = !user.IsBot
|
||||
? new ProfileSection[]
|
||||
{
|
||||
//new AboutSection(),
|
||||
new RecentSection(),
|
||||
new RanksSection(),
|
||||
//new MedalsSection(),
|
||||
new HistoricalSection(),
|
||||
new BeatmapsSection(),
|
||||
new KudosuSection()
|
||||
}
|
||||
: new ProfileSection[]
|
||||
{
|
||||
//new AboutSection(),
|
||||
};
|
||||
|
||||
tabs = new ProfileTabControl
|
||||
{
|
||||
|
Reference in New Issue
Block a user