diff --git a/osu.Game/Overlays/Changelog/ChangelogContent.cs b/osu.Game/Overlays/Changelog/ChangelogContent.cs
index a4797d6f7c..36f9d3fec6 100644
--- a/osu.Game/Overlays/Changelog/ChangelogContent.cs
+++ b/osu.Game/Overlays/Changelog/ChangelogContent.cs
@@ -66,7 +66,7 @@ namespace osu.Game.Overlays.Changelog
});
Add(changelogContentGroup = new ChangelogContentGroup(build, false)
{
- BuildRequested = () => ShowBuild(build),
+ BuildRequested = () => showBuild(build),
});
changelogContentGroup.GenerateText(build.ChangelogEntries);
}
@@ -82,20 +82,26 @@ namespace osu.Game.Overlays.Changelog
};
}
+ ///
+ /// Doesn't send back that the build has changed
+ ///
public void ShowBuild(APIChangelog changelog)
{
fetchAndShowChangelogBuild(changelog);
CurrentBuild = changelog;
}
- public void ShowListing() => fetchAndShowChangelog();
-
+ ///
+ /// Sends back that the build has changed
+ ///
private void showBuild(APIChangelog changelog)
{
ShowBuild(changelog);
OnBuildChanged();
}
+ public void ShowListing() => fetchAndShowChangelog();
+
private void showNext()
{
if (CurrentBuild.Versions.Next != null)
diff --git a/osu.Game/Overlays/Changelog/ChangelogContentGroup.cs b/osu.Game/Overlays/Changelog/ChangelogContentGroup.cs
index 0fc4c31bbe..36127d585e 100644
--- a/osu.Game/Overlays/Changelog/ChangelogContentGroup.cs
+++ b/osu.Game/Overlays/Changelog/ChangelogContentGroup.cs
@@ -149,18 +149,13 @@ namespace osu.Game.Overlays.Changelog
TextSize = 20, // web: 18,
Font = @"Exo2.0-Medium",
},
- new SpriteText
+ new ClickableText
{
Text = build.DisplayVersion,
TextSize = 20, // web: 18,
Font = @"Exo2.0-Light",
Colour = StreamColour.FromStreamName(build.UpdateStream.Name),
- },
- new ClickableText
- {
- Text = " ok ",
- TextSize = 20,
- Action = BuildRequested,
+ Action = () => BuildRequested(),
},
}
},