mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Fix buttons a11y label for close and share button for image vc
Image View Controller buttons both close and share don't have correct a11y label. This will add the localised label
This commit is contained in:
@@ -29,6 +29,8 @@ class ImageViewController: UIViewController {
|
||||
super.viewDidLoad()
|
||||
|
||||
closeButton.imageView?.contentMode = .scaleAspectFit
|
||||
closeButton.accessibilityLabel = NSLocalizedString("Close", comment: "Close")
|
||||
shareButton.accessibilityLabel = NSLocalizedString("Share", comment: "Share")
|
||||
|
||||
imageScrollView.setup()
|
||||
imageScrollView.imageScrollViewDelegate = self
|
||||
|
||||
Reference in New Issue
Block a user