     }
     
     /// Action button text number of lines. Default is 1
-    open dynamic var actionTextNumberOfLines = 1 {
+    open dynamic var actionTextNumberOfLines: Int = 1 {
         didSet {
             actionButton.titleLabel?.numberOfLines = actionTextNumberOfLines
             secondActionButton.titleLabel?.numberOfLines = actionTextNumberOfLines

    fileprivate func showWithAnimation() {
        var animationBlock: (() -> Void)? = nil
        let superViewWidth = (superview?.frame)!.width
        let snackbarHeight = getSuitableHeightForCurrentContent()

        switch animationType {
            

        layoutIfNeeded()
    }
}
