style: suppress lint on addMediaAttachment

This commit is contained in:
LucasGGamerM
2023-03-21 20:03:15 -03:00
parent 132b672441
commit af2d951b50

View File

@@ -1380,6 +1380,7 @@ public class ComposeFragment extends MastodonToolbarFragment implements OnBackPr
}
}
@SuppressLint("StringFormatInvalid")
private boolean addMediaAttachment(Uri uri, String description){
if(getMediaAttachmentsCount()==MAX_ATTACHMENTS){
showMediaAttachmentError(getResources().getQuantityString(R.plurals.cant_add_more_than_x_attachments, MAX_ATTACHMENTS, MAX_ATTACHMENTS));