mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 06:57:39 +08:00
Fix last seen message has been visible when it shouldn't
This commit is contained in:
parent
1e025b7c31
commit
454e402e88
@ -185,6 +185,8 @@ namespace osu.Game.Users
|
||||
{
|
||||
if (status != null)
|
||||
{
|
||||
LastVisitMessage.FadeTo(status is UserStatusOffline && User.LastVisit.HasValue ? 1 : 0);
|
||||
|
||||
// Set status message based on activity (if we have one) and status is not offline
|
||||
if (activity != null && !(status is UserStatusOffline))
|
||||
{
|
||||
@ -194,7 +196,6 @@ namespace osu.Game.Users
|
||||
}
|
||||
|
||||
// Otherwise use only status
|
||||
LastVisitMessage.FadeTo(status is UserStatusOffline && User.LastVisit.HasValue ? 1 : 0);
|
||||
statusMessage.Text = status.Message;
|
||||
statusIcon.FadeColour(status.GetAppropriateColour(colours), 500, Easing.OutQuint);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user