mirror of
https://github.com/osukey/osukey.git
synced 2025-05-23 14:37:39 +09: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)
|
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
|
// Set status message based on activity (if we have one) and status is not offline
|
||||||
if (activity != null && !(status is UserStatusOffline))
|
if (activity != null && !(status is UserStatusOffline))
|
||||||
{
|
{
|
||||||
@ -194,7 +196,6 @@ namespace osu.Game.Users
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Otherwise use only status
|
// Otherwise use only status
|
||||||
LastVisitMessage.FadeTo(status is UserStatusOffline && User.LastVisit.HasValue ? 1 : 0);
|
|
||||||
statusMessage.Text = status.Message;
|
statusMessage.Text = status.Message;
|
||||||
statusIcon.FadeColour(status.GetAppropriateColour(colours), 500, Easing.OutQuint);
|
statusIcon.FadeColour(status.GetAppropriateColour(colours), 500, Easing.OutQuint);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user