Skip to content

Commit

Permalink
Fix frame issue to AwaitToastView
Browse files Browse the repository at this point in the history
  • Loading branch information
k-lpmg committed Apr 3, 2019
1 parent 3121510 commit 440839d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/AwaitToast/Toasts/AwaitToastView.swift
Expand Up @@ -22,7 +22,7 @@ class AwaitToastView<A>: ToastView<A> where A: ToastAppearance {
}
let originX = titleEdgeInsets.left
let width = contentView.bounds.width - titleEdgeInsets.left - titleEdgeInsets.right
let height = contentView.bounds.height - titleEdgeInsets.top
let height = contentView.bounds.height - titleEdgeInsets.top - titleEdgeInsets.bottom
return CGRect(x: originX, y: originY, width: width, height: height)
}

Expand Down

0 comments on commit 440839d

Please sign in to comment.