mirror of
https://github.com/yattee/yattee.git
synced 2026-07-19 22:02:10 +00:00
Right-align toast dismiss button on macOS
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user