mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 10:03:05 +08:00
Merge branch 'Cakefy_osu!' of https://github.com/miterosan/osu into Cakefy_osu!
This commit is contained in:
commit
b394f8c5ad
@ -386,10 +386,13 @@ namespace osu.Game.Overlays.Profile
|
||||
infoTextLeft.AddText(new DrawableJoinDate(user.JoinDate), boldItalic);
|
||||
}
|
||||
|
||||
infoTextLeft.NewLine();
|
||||
infoTextLeft.AddText("Last seen ", lightText);
|
||||
infoTextLeft.AddText(new DrawableDate(user.LastVisit), boldItalic);
|
||||
infoTextLeft.NewParagraph();
|
||||
if (user.LastVisit.HasValue)
|
||||
{
|
||||
infoTextLeft.NewLine();
|
||||
infoTextLeft.AddText("Last seen ", lightText);
|
||||
infoTextLeft.AddText(new DrawableDate(user.LastVisit.Value), boldItalic);
|
||||
infoTextLeft.NewParagraph();
|
||||
}
|
||||
|
||||
if (user.PlayStyle?.Length > 0)
|
||||
{
|
||||
|
@ -84,7 +84,7 @@ namespace osu.Game.Users
|
||||
public string Location;
|
||||
|
||||
[JsonProperty(@"last_visit")]
|
||||
public DateTimeOffset LastVisit;
|
||||
public DateTimeOffset? LastVisit;
|
||||
|
||||
[JsonProperty(@"twitter")]
|
||||
public string Twitter;
|
||||
|
Loading…
Reference in New Issue
Block a user