Skip to content

Commit

Permalink
Fixes unused warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
kzaher committed Sep 9, 2015
1 parent 3040822 commit d4b3956
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RxCocoa/OSX/NSImageView+Rx.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ extension NSImageView {
switch event {
case .Next(let value):
if let transitionType = transitionType {
if let value = value {
if value != nil {
let transition = CATransition()
transition.duration = 0.25
transition.timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionEaseInEaseOut)
Expand Down

0 comments on commit d4b3956

Please sign in to comment.