      */
     public func hideToastActivity() {
         if activityView != nil {
-            UIView.animate(withDuration: Constants.ASToastFadeDuration, delay: 0.0, options: [UIViewAnimationOptions.curveEaseIn, UIViewAnimationOptions.beginFromCurrentState], animations: { () -> Void in
+            UIView.animate(withDuration: Constants.ToastFadeDuration, delay: 0.0, options: [UIViewAnimationOptions.curveEaseIn, UIViewAnimationOptions.beginFromCurrentState], animations: { () -> Void in
                 activityView.alpha = 0.0
             }, completion: { (_) -> Void in
                 activityView.removeFromSuperview()

      - parameter position: Position to centralize
      - parameter toastView: Toast view
     */
    fileprivate func centerPointForPosition(position: ASToastPosition, toastView: UIView!) -> CGPoint {
        switch position {
        case.top :
            return CGPoint(x: self.bounds.size.width / 2, y: (toastView.frame.size.height / 2) + Constants.ASToastVerticalPadding)
        case .center:
            return CGPoint(x: self.bounds.size.width / 2, y: self.bounds.size.height / 2)
        default:
            return CGPoint(x: self.bounds.size.width / 2, y: (self.bounds.size.height - (toastView.frame.size.height / 2)) - Constants.ASToastVerticalPadding)
        }
    }


        if titleLabel != nil {
            titleWidth = titleLabel.bounds.size.width
            titleHeight = titleLabel.bounds.size.height
            titleTop = Constants.ToastVerticalPadding
            titleLeft = imageLeft + imageWidth + Constants.ToastHorizontalPadding
        } else {
            titleWidth = 0.0
            titleHeight = 0.0
