           return
         }
         
-        v.image = self.isSecureTextEntry ? Icon.visibilityOff?.tint(with: v.tintColor.withAlphaComponent(0.54)) : Icon.visibility?.tint(with: v.tintColor.withAlphaComponent(0.54))
+        v.image = self.visibilityIcon
     })
   }
 }

  /// A reference to the visibilityIconButton.
  open fileprivate(set) var visibilityIconButton: IconButton?
  
  /// Enables the visibilityIconButton.
  @IBInspectable
  open var isVisibilityIconButtonEnabled: Bool {

    })
  }
}

private extension TextField {
  /// Visibility icon based on isSecureTextEntry value.
  var visibilityIcon: UIImage? {
    return isSecureTextEntry ? visibilityIconOff : visibilityIconOn
  }
}
