From 8cfe8a1ac0e560e063b3a12780755de94ed91444 Mon Sep 17 00:00:00 2001 From: nythepegasus Date: Mon, 6 May 2024 20:23:14 -0400 Subject: [PATCH] Fix Error Log not showing UIAlertController on iOS <=13 --- AltStore/Settings/Error Log/ErrorLogViewController.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/AltStore/Settings/Error Log/ErrorLogViewController.swift b/AltStore/Settings/Error Log/ErrorLogViewController.swift index a6acb062..d58fd64c 100644 --- a/AltStore/Settings/Error Log/ErrorLogViewController.swift +++ b/AltStore/Settings/Error Log/ErrorLogViewController.swift @@ -112,8 +112,10 @@ private extension ErrorLogViewController cell.menuButton.menu = menu cell.menuButton.showsMenuAsPrimaryAction = self.isScrolling ? false : true cell.selectionStyle = .none + } else { + 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: ". ")