mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 16:12:54 +08:00
Remove last.fm support
Has been broken for ages, and their service isn't really something people use these days.
This commit is contained in:
parent
583fdc3a95
commit
703f58bb2f
@ -135,7 +135,6 @@ namespace osu.Game.Overlays.Profile.Header
|
|||||||
anyInfoAdded |= tryAddInfo(FontAwesome.Brands.Twitter, "@" + user.Twitter, $@"https://twitter.com/{user.Twitter}");
|
anyInfoAdded |= tryAddInfo(FontAwesome.Brands.Twitter, "@" + user.Twitter, $@"https://twitter.com/{user.Twitter}");
|
||||||
anyInfoAdded |= tryAddInfo(FontAwesome.Brands.Discord, user.Discord);
|
anyInfoAdded |= tryAddInfo(FontAwesome.Brands.Discord, user.Discord);
|
||||||
anyInfoAdded |= tryAddInfo(FontAwesome.Brands.Skype, user.Skype, @"skype:" + user.Skype + @"?chat");
|
anyInfoAdded |= tryAddInfo(FontAwesome.Brands.Skype, user.Skype, @"skype:" + user.Skype + @"?chat");
|
||||||
anyInfoAdded |= tryAddInfo(FontAwesome.Brands.Lastfm, user.Lastfm, $@"https://last.fm/users/{user.Lastfm}");
|
|
||||||
anyInfoAdded |= tryAddInfo(FontAwesome.Solid.Link, websiteWithoutProtocol, user.Website);
|
anyInfoAdded |= tryAddInfo(FontAwesome.Solid.Link, websiteWithoutProtocol, user.Website);
|
||||||
|
|
||||||
// If no information was added to the bottomLinkContainer, hide it to avoid unwanted padding
|
// If no information was added to the bottomLinkContainer, hide it to avoid unwanted padding
|
||||||
|
@ -111,9 +111,6 @@ namespace osu.Game.Users
|
|||||||
[JsonProperty(@"twitter")]
|
[JsonProperty(@"twitter")]
|
||||||
public string Twitter;
|
public string Twitter;
|
||||||
|
|
||||||
[JsonProperty(@"lastfm")]
|
|
||||||
public string Lastfm;
|
|
||||||
|
|
||||||
[JsonProperty(@"skype")]
|
[JsonProperty(@"skype")]
|
||||||
public string Skype;
|
public string Skype;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user