Skip to content

Commit d6166c1

Browse files
Alex KAlex K
authored andcommitted
Fixes #19
1 parent 388baf9 commit d6166c1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

PaperSwitch/RAMPaperSwitch.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ open class RAMPaperSwitch: UISwitch, CAAnimationDelegate {
121121
super.setOn(on, animated: animated)
122122

123123
if changed {
124-
switchChangeWithAniation(animated)
124+
switchChangeWithAnimation(animated)
125125
}
126126
}
127127

@@ -131,7 +131,7 @@ open class RAMPaperSwitch: UISwitch, CAAnimationDelegate {
131131
}
132132

133133
internal func switchChanged() {
134-
switchChangeWithAniation(true)
134+
switchChangeWithAnimation(true)
135135
}
136136

137137
// MARK: - Animations
@@ -151,7 +151,7 @@ open class RAMPaperSwitch: UISwitch, CAAnimationDelegate {
151151
return animation
152152
}
153153

154-
fileprivate func switchChangeWithAniation(_ animation: Bool) {
154+
fileprivate func switchChangeWithAnimation(_ animation: Bool) {
155155
guard let onTintColor = self.onTintColor else {
156156
return
157157
}

0 commit comments

Comments
 (0)