Skip to content

Commit

Permalink
feat: go back to showing 10 most recent games
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Gleich <[email protected]>
  • Loading branch information
gleich committed Jul 30, 2024
1 parent 37498c4 commit 7158cc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/apis/steam/games.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func fetchRecentlyPlayedGames() []game {
sort.Slice(ownedGames.Response.Games, func(i, j int) bool {
return ownedGames.Response.Games[i].RTimeLastPlayed > ownedGames.Response.Games[j].RTimeLastPlayed
})
ownedGames.Response.Games = ownedGames.Response.Games[:3]
ownedGames.Response.Games = ownedGames.Response.Games[:10]

var games []game
for _, g := range ownedGames.Response.Games {
Expand Down

0 comments on commit 7158cc3

Please sign in to comment.