fix pinned drawable comment test

This commit is contained in:
Gagah Pangeran Rosfatiputra
2021-08-14 00:17:45 +07:00
parent a710bbf6ae
commit 4494ff55e3

View File

@ -43,9 +43,7 @@ namespace osu.Game.Tests.Visual.Online
{
AddStep(description, () =>
{
if (description == "Pinned")
comment.Pinned = true;
comment.Pinned = description == "Pinned";
comment.Message = text;
container.Add(new DrawableComment(comment));
});