Skip to content

Commit

Permalink
Fix a coding style.
Browse files Browse the repository at this point in the history
  • Loading branch information
pontago committed Jul 5, 2016
1 parent f01f767 commit c0dc7cc
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions SCLAlertView/SCLAlertView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -467,12 +467,7 @@ public class SCLAlertView: UIViewController {
}

func buttonRelease(btn:SCLButton) {
if let customBackgroundColor = btn.customBackgroundColor {
btn.backgroundColor = customBackgroundColor
}
else {
btn.backgroundColor = viewColor
}
btn.backgroundColor = btn.customBackgroundColor ?? viewColor
}

var tmpContentViewFrameOrigin: CGPoint?
Expand Down

0 comments on commit c0dc7cc

Please sign in to comment.