- Fix: CollapsingMarkdownView was not reloading properly during layoutSubviews phase

This commit is contained in:
mahee96
2025-02-28 02:28:34 +05:30
parent cfaf79f878
commit 2197161d55
3 changed files with 12 additions and 19 deletions

View File

@@ -282,11 +282,8 @@ private extension MyAppsViewController
}
cell.versionDescriptionTextView.toggleButton.addTarget(self, action: #selector(MyAppsViewController.toggleUpdateCellMode(_:)), for: .primaryActionTriggered)
cell.setNeedsLayout()
// Below lines are necessary to avoid "more" button layout issues.
cell.versionDescriptionTextView.setNeedsLayout()
cell.layoutIfNeeded()
}
dataSource.prefetchHandler = { (installedApp, indexPath, completionHandler) in