RichTextLabelExt update (#19269)

This commit is contained in:
faint
2023-08-18 07:41:48 +03:00
committed by GitHub
parent 83fa7a7835
commit 9e3eb08f5d

View File

@@ -1,13 +1,13 @@
using Robust.Client.UserInterface.Controls;
using Robust.Shared.Utility;
namespace Content.Client.Message
{
namespace Content.Client.Message;
public static class RichTextLabelExt
{
public static void SetMarkup(this RichTextLabel label, string markup)
public static RichTextLabel SetMarkup(this RichTextLabel label, string markup)
{
label.SetMessage(FormattedMessage.FromMarkup(markup));
}
return label;
}
}