Rename StringPillsUtils to PillsFormatter

This commit is contained in:
aringenbach
2022-05-09 15:32:53 +02:00
parent 65c779d01d
commit 348b4170fa
7 changed files with 23 additions and 23 deletions
+3 -3
View File
@@ -281,9 +281,9 @@ static CGSize kThreadListBarButtonItemImageSize;
{
if (@available(iOS 15.0, *))
{
if (![NSTextAttachment textAttachmentViewProviderClassForFileType:StringPillsUtils.pillUTType])
if (![NSTextAttachment textAttachmentViewProviderClassForFileType:PillsFormatter.pillUTType])
{
[NSTextAttachment registerTextAttachmentViewProviderClass:PillAttachmentViewProvider.class forFileType:StringPillsUtils.pillUTType];
[NSTextAttachment registerTextAttachmentViewProviderClass:PillAttachmentViewProvider.class forFileType:PillsFormatter.pillUTType];
}
}
}
@@ -6776,7 +6776,7 @@ static CGSize kThreadListBarButtonItemImageSize;
{
if (@available(iOS 15.0, *))
{
MXKPasteboardManager.shared.pasteboard.string = [StringPillsUtils stringByReplacingPillsIn:attributedTextMessage asMarkdown:YES];
MXKPasteboardManager.shared.pasteboard.string = [PillsFormatter stringByReplacingPillsIn:attributedTextMessage asMarkdown:YES];
}
else
{