mirror of
https://github.com/yattee/yattee.git
synced 2026-07-20 14:22:02 +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)
|
// Action button (if present)
|
||||||
if let action = toast.action {
|
if let action = toast.action {
|
||||||
actionButton(action)
|
actionButton(action)
|
||||||
|
|||||||
Reference in New Issue
Block a user