fix block confirmation accessibility id

pull/1023/head
Ryan ZHAO 7 months ago
parent d73b9d0ab0
commit bd34d1a9e6

@ -375,9 +375,7 @@ public extension UIContextualAction {
.localizedFormatted(baseFont: .systemFont(ofSize: Values.smallFontSize)) .localizedFormatted(baseFont: .systemFont(ofSize: Values.smallFontSize))
), ),
confirmTitle: "block".localized(), confirmTitle: "block".localized(),
confirmAccessibility: Accessibility( confirmAccessibility: Accessibility(identifier: "Confirm block"),
identifier: "Block"
),
confirmStyle: .danger, confirmStyle: .danger,
cancelStyle: .alert_text, cancelStyle: .alert_text,
dismissOnConfirm: true, dismissOnConfirm: true,

Loading…
Cancel
Save