Skip to content

Commit

Permalink
Merge pull request #66 from ncerezo/master
Browse files Browse the repository at this point in the history
Fixed typo in showCloseButton
  • Loading branch information
vikmeup committed Jun 6, 2015
2 parents bf4ef43 + 3bf9ca2 commit 5c57bf7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ alert.showEdit(self, title: "Edit View", subTitle: "This alert view shows a text
####Alert View Styles
```swift
enum SCLAlertViewStyle: Int {
case Success, Error, Notice, Warning, Info, Edit
case Success, Error, Notice, Warning, Info, Edit, Wait
}
```

Expand Down
4 changes: 2 additions & 2 deletions SCLAlertView/SCLAlertView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public class SCLAlertView: UIViewController {
var pressBrightnessFactor = 0.85

// UI Options
var showCloseButtton = true
var showCloseButton = true

// Members declaration
var baseView = UIView()
Expand Down Expand Up @@ -387,7 +387,7 @@ public class SCLAlertView: UIViewController {
}

// Done button
if showCloseButtton {
if showCloseButton {
let txt = completeText != nil ? completeText! : "Done"
addButton(txt, target:self, selector:Selector("hideView"))
}
Expand Down

0 comments on commit 5c57bf7

Please sign in to comment.