Implement cover toggling

This commit is contained in:
Bartłomiej Dach
2022-12-31 20:28:28 +01:00
parent e74176e5bd
commit 33e91cf512
2 changed files with 24 additions and 9 deletions

View File

@ -16,7 +16,7 @@ namespace osu.Game.Overlays.Profile.Header.Components
{
public partial class ToggleCoverButton : ProfileHeaderButton
{
public readonly BindableBool CoverVisible = new BindableBool();
public readonly BindableBool CoverVisible = new BindableBool(true);
public override LocalisableString TooltipText => CoverVisible.Value ? UsersStrings.ShowCoverTo0 : UsersStrings.ShowCoverTo1;