         let yToPosition2: CGFloat
         let xToPosition1: CGFloat
         let xToPosition2: CGFloat
+        let bottomCarrierMargin = UIDevice().type == DGDeviceModel.iPhoneX ? (screenHeight - 40) : screenHeight
         
         switch s {
         case .top:

    private var imageView: UIImageView!

//MARK: Layout variables
    private let vHeight:CGFloat = 68.0
    private let shadowMargin:CGFloat = 4.0
    private var xPadding: CGFloat!
    private let topCarrierMargin:CGFloat = UIDevice()
                .type == DGDeviceModel.iPhoneX ? 40 : 20
    private lazy var bottomCarrierMargin: CGFloat = UIDevice()
                     .type == DGDeviceModel.iPhoneX ? screenHeight - 40 : screenHeight
    
//MARK: Color variables
    private var textColor = UIColor.darkText {
        didSet {

        let frame: CGRect
        let width = fullWidth ? screenWidth : (screenWidth - 40.0)
        xPadding = fullWidth ? 0.0 : 20.0
        let bottomCarrierMargin = UIDevice().type == DGDeviceModel.iPhoneX ? (screenHeight - 40) : screenHeight
      
        switch side {
        case .topLeft:
