     fileprivate func updateFrame() {
         let textWidth: CGFloat = bounds.size.width
         if isLTRLanguage {
-            
             iconLabel.frame = CGRect(
                 x: 0,
                 y: bounds.size.height - textHeight() - iconMarginBottom,
                 width: iconWidth,
                 height: textHeight()
             )
-            
             iconImageView.frame = CGRect(
                 x: 0,
                 y: bounds.size.height - textHeight() - iconMarginBottom,
                 width: iconWidth,
                 height: textHeight()
             )
-            
-            
-        } else {
-            
+        } else {
             iconLabel.frame = CGRect(
                 x: textWidth - iconWidth,
                 y: bounds.size.height - textHeight() - iconMarginBottom,
                 width: iconWidth,
                 height: textHeight()
             )
-            
             iconImageView.frame = CGRect(
                 x: textWidth - iconWidth,
                 y: bounds.size.height - textHeight() - iconMarginBottom,
                 width: iconWidth,
                 height: textHeight()
             )
-            
         }
     }
 }

        case .image:
            self.iconLabel.isHidden = true
            self.iconImageView.isHidden = false
            
        }
    }


        iconImageView.autoresizingMask = [.flexibleTopMargin, .flexibleRightMargin]
        self.iconImageView = iconImageView
        addSubview(iconImageView)
    }
    
    // MARK: Set icon hidden property
