sanzaru/SimpleToast

alignment

Closed this issue · 2 comments

i can't see the "alignment" in Option , version 0.8.1

@navid-sharifi The alignment parameter in the SimpleToastOptions struct is still available:

public var alignment: Alignment

Can you provide a snippet of code where you implemented the options?

@navid-sharifi The alignment parameter in the SimpleToastOptions struct is still available:

public var alignment: Alignment

Can you provide a snippet of code where you implemented the options?

it work as well , thank you
but the Alignment must be first.

private let toastOptions = SimpleToastOptions(
alignment : .center,
hideAfter: 3 ,
animation: .smooth,
modifierType: .scale
)