Changed mailto link to redirect to compose page.

This commit is contained in:
Aleh Khantsevich
2024-05-01 15:26:34 +02:00
parent e2f0c73bab
commit 9d1163e73e

View File

@@ -225,8 +225,9 @@ namespace Wino.Mail.ViewModels
if (!confirmed) return; if (!confirmed) return;
// TODO:Implement mailto link support. // TODO: Implement automatic mail send after user confirms the action.
DialogService.InfoBarMessage(Translator.GeneralTitle_Error, "Mailto unsubscribe is not supported yet.", InfoBarMessageType.Error); // Currently it will launch compose page and user should manually press send button.
await NativeAppService.LaunchUriAsync(new Uri(CurrentRenderModel.UnsubscribeInfo.MailToLink));
} }
} }