mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Fix deprecated calls and code styling (partly)
This commit is contained in:
@ -161,8 +161,10 @@ namespace osu.Game.Overlays
|
||||
private void fetchListing()
|
||||
{
|
||||
header.ShowListing();
|
||||
|
||||
if (isAtListing)
|
||||
return;
|
||||
|
||||
isAtListing = true;
|
||||
var req = new GetChangelogRequest();
|
||||
badges.SelectNone();
|
||||
@ -173,8 +175,10 @@ namespace osu.Game.Overlays
|
||||
public void ShowListing()
|
||||
{
|
||||
header.ShowListing();
|
||||
|
||||
if (isAtListing)
|
||||
return;
|
||||
|
||||
isAtListing = true;
|
||||
content.Hide();
|
||||
listing.Show();
|
||||
@ -187,8 +191,8 @@ namespace osu.Game.Overlays
|
||||
/// <summary>
|
||||
/// Fetches and shows a specific build from a specific update stream.
|
||||
/// </summary>
|
||||
/// <param name="build">Must contain at least <see cref="APIChangelogBuild.UpdateStream.Name"/> and
|
||||
/// <see cref="APIChangelogBuild.Version"/>. If <see cref="APIChangelogBuild.UpdateStream.DisplayName"/> and
|
||||
/// <param name="build">Must contain at least <see cref="UpdateStream.Name"/> and
|
||||
/// <see cref="APIChangelogBuild.Version"/>. If <see cref="UpdateStream.DisplayName"/> and
|
||||
/// <see cref="APIChangelogBuild.DisplayVersion"/> are specified, the header will instantly display them.</param>
|
||||
/// <param name="updateBadges">Whether to update badges. Should be set to false in case
|
||||
/// the function is called by selecting a badge, to avoid an infinite loop.</param>
|
||||
|
Reference in New Issue
Block a user