From ee81dd76422223d721408b45a56df4869cf16611 Mon Sep 17 00:00:00 2001 From: alpavanoglu Date: Wed, 14 Feb 2024 17:30:52 +0100 Subject: [PATCH] Add `invalidateIntrinsicContentSize` to `HostingTableViewCell` --- .../Views/List/NotificationsList/HostingTableViewCell.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/WordPress/Classes/ViewRelated/Views/List/NotificationsList/HostingTableViewCell.swift b/WordPress/Classes/ViewRelated/Views/List/NotificationsList/HostingTableViewCell.swift index f8fc70cb1995..1cea26dd0fa3 100644 --- a/WordPress/Classes/ViewRelated/Views/List/NotificationsList/HostingTableViewCell.swift +++ b/WordPress/Classes/ViewRelated/Views/List/NotificationsList/HostingTableViewCell.swift @@ -23,5 +23,7 @@ class HostingTableViewCell: UITableViewCell { swiftUICellViewController.didMove(toParent: parent) swiftUICellViewController.view.layoutIfNeeded() } + + self.controller?.view.invalidateIntrinsicContentSize() } }