Skip to content

Commit

Permalink
Compatibility fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sanzaru committed Oct 5, 2021
1 parent d3cfc4e commit 91eced0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/SimpleToast/Modifier/SimpleToastSkew.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ struct SimpleToastSkew: SimpleToastModifier {
func body(content: Content) -> some View {
content
.transition(
.skew
AnyTransition.skew
.combined(with: .scale(scale: 0, anchor: .top))
.animation(options?.animation ?? .linear)
)
Expand Down

0 comments on commit 91eced0

Please sign in to comment.