     }
     
     private func maxHegithRow(indexPath: IndexPath) -> CGFloat{
-        
-        if indexPath.section == self.defaultsPaymentMethodsSection() {
-            return self.calculateHeight(indexPath: indexPath, numberOfCells: self.viewModel.currentPaymentMethodSearch.count)
-        } else {
-            return self.calculateHeight(indexPath: indexPath, numberOfCells: self.viewModel.getCustomerPaymentMethodsToDisplayCount(), customerPaymentMethods: true)
-        }
-        
-    }
-    
-    private func calculateHeight(indexPath : IndexPath, numberOfCells : Int, customerPaymentMethods : Bool = false) -> CGFloat {
-        if numberOfCells == 0 {
-            return 0
-        }
-        
+        let numberOfCells = self.viewModel.currentPaymentMethodSearch.count
         let section : Int
         let row = indexPath.row
         if row % 2 == 1{

        super.viewDidAppear(animated)
        self.getCustomerCards()
    }
    
    
    
    fileprivate func cardFormCallbackCancel() -> ((Void) -> (Void)) {
        return { Void -> (Void) in
            if self.viewModel.currentPaymentMethodSearch.count > 1 {

        } else {
            self.callbackCancel = callbackCancel
        }

        self.view.backgroundColor = MercadoPagoContext.getComplementaryColor()
        self.collectionSearch.backgroundColor = MercadoPagoContext.getComplementaryColor()
 

        
        
    }
