Skip to content

Commit

Permalink
Merge pull request #24256 from tybug/update-download-icon
Browse files Browse the repository at this point in the history
Use `FontAwesome.Download` for updates instead of `FontAwesome.Upload`
  • Loading branch information
peppy authored Jul 17, 2023
2 parents a472fe6 + 6200e20 commit 66269be
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions osu.Game/Updater/NoActionUpdateManager.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.

#nullable disable
Expand Down Expand Up @@ -47,7 +47,7 @@ protected override async Task<bool> PerformUpdateCheck()
{
Text = $"A newer release of osu! has been found ({version}{latestTagName}).\n\n"
+ "Check with your package manager / provider to bring osu! up-to-date!",
Icon = FontAwesome.Solid.Upload,
Icon = FontAwesome.Solid.Download,
});

return true;
Expand Down
4 changes: 2 additions & 2 deletions osu.Game/Updater/SimpleUpdateManager.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.

#nullable disable
Expand Down Expand Up @@ -54,7 +54,7 @@ protected override async Task<bool> PerformUpdateCheck()
{
Text = $"A newer release of osu! has been found ({version}{latestTagName}).\n\n"
+ "Click here to download the new version, which can be installed over the top of your existing installation",
Icon = FontAwesome.Solid.Upload,
Icon = FontAwesome.Solid.Download,
Activated = () =>
{
host.OpenUrlExternally(getBestUrl(latest));
Expand Down
2 changes: 1 addition & 1 deletion osu.Game/Updater/UpdateManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ private void load()
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
Icon = FontAwesome.Solid.Upload,
Icon = FontAwesome.Solid.Download,
Size = new Vector2(34),
Colour = OsuColour.Gray(0.2f),
Depth = float.MaxValue,
Expand Down

0 comments on commit 66269be

Please sign in to comment.