1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-07 02:23:08 +08:00

Merge pull request #31711 from peppy/change-friend-notification-icons

Change friend online notifications' icon and colours
This commit is contained in:
Bartłomiej Dach 2025-01-28 15:38:27 +01:00 committed by GitHub
commit b84a9f7820
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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();