From 7de1c01fe8f2c5a2f6936b3b5d12c8eb2cca66d9 Mon Sep 17 00:00:00 2001 From: LAGonauta Date: Sat, 27 Feb 2021 16:41:19 -0300 Subject: [PATCH] Add comment to builder --- .../windows-notification/src/toast_notification_builder.vala | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/windows-notification/src/toast_notification_builder.vala b/plugins/windows-notification/src/toast_notification_builder.vala index 6abf3f65..29ce6d2f 100644 --- a/plugins/windows-notification/src/toast_notification_builder.vala +++ b/plugins/windows-notification/src/toast_notification_builder.vala @@ -41,7 +41,10 @@ namespace Dino.Plugins.WindowsNotification { return this; } - // legacy templates: https://docs.microsoft.com/en-us/previous-versions/windows/apps/hh761494(v=win.10) + // Legacy templates, for both Windows 8.1 and Windows 10: + // https://docs.microsoft.com/en-us/previous-versions/windows/apps/hh761494(v=win.10) + // Eventually modern adaptive templates might be desired: + // https://docs.microsoft.com/en-us/windows/uwp/design/shell/tiles-and-notifications/adaptive-interactive-toasts?tabs=builder-syntax public ToastNotification Build() { ToastTemplateType templateType = _header != null ? ToastTemplateType.ToastText02 : ToastTemplateType.ToastText01; if (_imagePath != null) {