mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-22 23:58:36 +01: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:
parent
f7bdf9d47c
commit
108da4ccf4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user