Skip to content

Commit

Permalink
add: White changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
Spatison committed Dec 2, 2024
1 parent f3c3277 commit d78dce6
Show file tree
Hide file tree
Showing 5 changed files with 850 additions and 383 deletions.
4 changes: 2 additions & 2 deletions Content.Client/Lobby/LobbyState.cs
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ private async void PopulateChangelog()
Lobby.ChangelogContainer.Children.Clear();

var changelogs = await _changelog.LoadChangelog();
var whiteChangelog = changelogs.Find(cl => cl.Name == "Changelog");
var whiteChangelog = changelogs.Find(cl => cl.Name == "WhiteChangelog");

if (whiteChangelog is null)
{
Expand All @@ -253,7 +253,7 @@ private async void PopulateChangelog()

var entries = whiteChangelog.Entries
.OrderByDescending(c => c.Time)
.Take(5);
.Take(3);

foreach (var entry in entries)
{
Expand Down
Loading

0 comments on commit d78dce6

Please sign in to comment.