Fixes Error Log not showing UIAlertController on iOS 13 or earlier

This commit is contained in:
Riley Testut
2022-10-26 18:14:25 -05:00
parent fede5b29cb
commit ce68ea74ad

View File

@@ -125,6 +125,11 @@ private extension ErrorLogViewController
cell.selectionStyle = .none
}
else
{
// Allow table view selections
cell.menuButton.isUserInteractionEnabled = false
}
// Include errorDescriptionTextView's text in cell summary.
cell.accessibilityLabel = [cell.errorFailureLabel.text, cell.dateLabel.text, cell.errorCodeLabel.text, cell.errorDescriptionTextView.text].compactMap { $0 }.joined(separator: ". ")