message: Fixed Close button analytics being triggered when clicking action button (mac)
diff: @@ -37,12 +37,7 @@ final class InAppMessageViewController: NSViewController {
  }
  @IBAction func closeBtnOnTap(_ sender: Any) {
  - animate(with: {[weak self] in
  - guard let strongSelf = self else { return }
  - strongSelf.bottomContraint.animator().constant = -strongSelf.containerView.frame.height
  - }, complete: {[weak self] in
  - self?.delegate?.InAppMessageViewControllerShouldDismiss()
  - })
  + hide();
  DesktopLibraryBridge.shared().setClickCloseBtnInAppMessage()
  }
  @@ -50,7 +45,7 @@ final class InAppMessageViewController: NSViewController {
  guard let message = message,
  let url = URL(string: message.urlAction) else { return }
  NSWorkspace.shared.open(url)
  - closeBtnOnTap(self)
  + hide()
  DesktopLibraryBridge.shared().setClickActionBtnInAppMessage()
  }
  @@ -76,6 +71,15 @@ final class InAppMessageViewController: NSViewController {
  strongSelf.bottomContraint.animator().constant = 0
  })
  }
  +
  + @objc func hide() {
  + animate(with: {[weak self] in
  + guard let strongSelf = self else { return }
  + strongSelf.bottomContraint.animator().constant = -strongSelf.containerView.frame.height
  + }, complete: {[weak self] in
  + self?.delegate?.InAppMessageViewControllerShouldDismiss()
  + })
  + }
  }
  // MARK: Private
  