From 9d1163e73eb985d367791dbfc95ec505ba59704b Mon Sep 17 00:00:00 2001 From: Aleh Khantsevich Date: Wed, 1 May 2024 15:26:34 +0200 Subject: [PATCH] Changed mailto link to redirect to compose page. --- Wino.Mail.ViewModels/MailRenderingPageViewModel.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Wino.Mail.ViewModels/MailRenderingPageViewModel.cs b/Wino.Mail.ViewModels/MailRenderingPageViewModel.cs index 1f99c5c1..6f4ffa2c 100644 --- a/Wino.Mail.ViewModels/MailRenderingPageViewModel.cs +++ b/Wino.Mail.ViewModels/MailRenderingPageViewModel.cs @@ -225,8 +225,9 @@ namespace Wino.Mail.ViewModels if (!confirmed) return; - // TODO:Implement mailto link support. - DialogService.InfoBarMessage(Translator.GeneralTitle_Error, "Mailto unsubscribe is not supported yet.", InfoBarMessageType.Error); + // TODO: Implement automatic mail send after user confirms the action. + // Currently it will launch compose page and user should manually press send button. + await NativeAppService.LaunchUriAsync(new Uri(CurrentRenderModel.UnsubscribeInfo.MailToLink)); } }