I don't know some changes....

This commit is contained in:
Burak Kaan Köse
2024-07-19 20:31:13 +02:00
parent 026151e7e4
commit 5b68f237f0
384 changed files with 176 additions and 29755 deletions

View File

@@ -1,19 +0,0 @@
using System.Threading.Tasks;
using Windows.Storage;
using Wino.Helpers;
using Wino.Mail.ViewModels.Data;
namespace Wino.Extensions
{
public static class MimeKitExtensions
{
public static async Task<MailAttachmentViewModel> ToAttachmentViewModelAsync(this StorageFile storageFile)
{
if (storageFile == null) return null;
var bytes = await storageFile.ReadBytesAsync();
return new MailAttachmentViewModel(storageFile.Name, bytes);
}
}
}