Skip to content

Commit

Permalink
* Removing unused variable pressBrightnessFactor
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianSteffens committed May 3, 2016
1 parent b1d99bd commit bd13b1b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion SCLAlertView/SCLAlertView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ public class SCLAlertView: UIViewController {

// UI Colour
var viewColor = UIColor()
var pressBrightnessFactor = 0.85

// UI Options
public var showCloseButton = true
Expand All @@ -159,6 +158,7 @@ public class SCLAlertView: UIViewController {
public var contentViewCornerRadius : CGFloat = 5.0
public var fieldCornerRadius : CGFloat = 3.0
public var buttonCornerRadius : CGFloat = 3.0

public var iconTintColor: UIColor?
public var customSubview : UIView?

Expand Down
4 changes: 0 additions & 4 deletions SCLAlertViewTests/SCLAlertViewPropertiesTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,6 @@ class SCLAlertViewPropertiesTests: XCTestCase {
XCTAssertTrue(alert.viewColor.isKindOfClass(UIColor.self))
}

func testSCLAlertViewPressBrightnessFactor() {
XCTAssertTrue(alert.pressBrightnessFactor == 0.85)
}

func testSCLAlertViewShowCloseButton() {
XCTAssertTrue(alert.showCloseButton == true)
}
Expand Down

0 comments on commit bd13b1b

Please sign in to comment.