Skip to content

Commit

Permalink
Merge pull request #34 from JonyFang/feature/r1.1.5-fix_typos
Browse files Browse the repository at this point in the history
Fix typos: `contetnView` to `contentView`
  • Loading branch information
JonyFang authored Apr 13, 2021
2 parents 4c2ea1d + e853d50 commit efe902b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class FFHomeViewController: UIViewController {
}

@objc fileprivate func showPopup() {
let popup = FFPopup(contetnView: self.alertView, showType: .bounceIn, dismissType: .shrinkOut, maskType: .dimmed, dismissOnBackgroundTouch: true, dismissOnContentTouch: false)
let popup = FFPopup(contentView: self.alertView, showType: .bounceIn, dismissType: .shrinkOut, maskType: .dimmed, dismissOnBackgroundTouch: true, dismissOnContentTouch: false)
let layout = FFPopupLayout(horizontal: .center, vertical: .center)
popup.show(layout: layout)
}
Expand Down
2 changes: 1 addition & 1 deletion FFPopup/Classes/FFPopup.h
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ NS_ASSUME_NONNULL_BEGIN
dismissType:(FFPopupDismissType)dismissType
maskType:(FFPopupMaskType)maskType
dismissOnBackgroundTouch:(BOOL)shouldDismissOnBackgroundTouch
dismissOnContentTouch:(BOOL)shouldDismissOnContentTouch NS_SWIFT_NAME(init(contetnView:showType:dismissType:maskType:dismissOnBackgroundTouch:dismissOnContentTouch:));
dismissOnContentTouch:(BOOL)shouldDismissOnContentTouch NS_SWIFT_NAME(init(contentView:showType:dismissType:maskType:dismissOnBackgroundTouch:dismissOnContentTouch:));

/**
Dismiss all the popups in the app.
Expand Down

0 comments on commit efe902b

Please sign in to comment.