RichTextLabelExt update (#19269)
This commit is contained in:
@@ -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 class RichTextLabelExt
|
||||
public static RichTextLabel SetMarkup(this RichTextLabel label, string markup)
|
||||
{
|
||||
public static void SetMarkup(this RichTextLabel label, string markup)
|
||||
{
|
||||
label.SetMessage(FormattedMessage.FromMarkup(markup));
|
||||
}
|
||||
label.SetMessage(FormattedMessage.FromMarkup(markup));
|
||||
return label;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user