Update tooltip implementations

This commit is contained in:
Dean Herbert
2021-08-30 16:04:54 +09:00
parent f64efdc4a9
commit fa2bf42188
7 changed files with 15 additions and 39 deletions

View File

@ -81,14 +81,13 @@ namespace osu.Game.Overlays.Profile.Header.Components
{
}
public override bool SetContent(object content)
public override void SetContent(object content)
{
if (!(content is TooltipDisplayContent info))
return false;
return;
Counter.Text = info.Rank;
BottomText.Text = info.Time;
return true;
}
}