From f73054290337f2b7f727e55d77ca427d7f13e096 Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Sun, 28 Jun 2026 09:57:25 +0200 Subject: [PATCH] Right-align toast dismiss button on macOS --- Yattee/Views/Toast/ToastCardView.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Yattee/Views/Toast/ToastCardView.swift b/Yattee/Views/Toast/ToastCardView.swift index bbd40fe2..72e6eef7 100644 --- a/Yattee/Views/Toast/ToastCardView.swift +++ b/Yattee/Views/Toast/ToastCardView.swift @@ -39,6 +39,10 @@ struct ToastCardView: View { } } + #if os(macOS) + Spacer(minLength: 0) + #endif + // Action button (if present) if let action = toast.action { actionButton(action)