mirror of
https://github.com/ppy/osu.git
synced 2025-02-07 03:02:54 +08:00
Merge pull request #31711 from peppy/change-friend-notification-icons
Change friend online notifications' icon and colours
This commit is contained in:
commit
b84a9f7820
@ -171,9 +171,9 @@ namespace osu.Game.Online
|
|||||||
{
|
{
|
||||||
Transient = true,
|
Transient = true,
|
||||||
IsImportant = false,
|
IsImportant = false,
|
||||||
Icon = FontAwesome.Solid.UserPlus,
|
Icon = FontAwesome.Solid.User,
|
||||||
Text = $"Online: {string.Join(@", ", onlineAlertQueue.Select(u => u.Username))}",
|
Text = $"Online: {string.Join(@", ", onlineAlertQueue.Select(u => u.Username))}",
|
||||||
IconColour = colours.Green,
|
IconColour = colours.GrayD,
|
||||||
Activated = () =>
|
Activated = () =>
|
||||||
{
|
{
|
||||||
if (singleUser != null)
|
if (singleUser != null)
|
||||||
@ -208,9 +208,9 @@ namespace osu.Game.Online
|
|||||||
{
|
{
|
||||||
Transient = true,
|
Transient = true,
|
||||||
IsImportant = false,
|
IsImportant = false,
|
||||||
Icon = FontAwesome.Solid.UserMinus,
|
Icon = FontAwesome.Solid.UserSlash,
|
||||||
Text = $"Offline: {string.Join(@", ", offlineAlertQueue.Select(u => u.Username))}",
|
Text = $"Offline: {string.Join(@", ", offlineAlertQueue.Select(u => u.Username))}",
|
||||||
IconColour = colours.Red
|
IconColour = colours.Gray3
|
||||||
});
|
});
|
||||||
|
|
||||||
offlineAlertQueue.Clear();
|
offlineAlertQueue.Clear();
|
||||||
|
Loading…
Reference in New Issue
Block a user