Right-align toast dismiss button on macOS

This commit is contained in:
Arkadiusz Fal
2026-06-28 09:57:25 +02:00
parent b230d56379
commit f730542903

View File

@@ -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)