diff --git a/PIA VPN/Tiles/RegionTileCollectionViewCell.swift b/PIA VPN/Tiles/RegionTileCollectionViewCell.swift index 23fa6a33..de6c8841 100644 --- a/PIA VPN/Tiles/RegionTileCollectionViewCell.swift +++ b/PIA VPN/Tiles/RegionTileCollectionViewCell.swift @@ -46,8 +46,8 @@ class RegionTileCollectionViewCell: UICollectionViewCell, TileableCell { } func setupCellForStatus(_ status: TileStatus) { + self.accessibilityLabel = L10n.Localizable.Tiles.Region.title self.accessibilityIdentifier = "RegionTileCollectionViewCell" - self.accessibilityLabel = L10n.Tiles.Region.title Theme.current.applyPrincipalBackground(self) Theme.current.applyPrincipalBackground(self.contentView) tile.status = status @@ -57,7 +57,7 @@ class RegionTileCollectionViewCell: UICollectionViewCell, TileableCell { case .normal: self.accessibilityTraits = UIAccessibilityTraits.button self.isAccessibilityElement = true - self.accessoryImageRight.image = Asset.Piax.Tiles.openTileDetails.image + self.accessoryImageRight.image = Asset.Images.Piax.Tiles.openTileDetails.image self.tileLeftConstraint.constant = 0 self.accessoryButtonLeft.isHidden = true case .edit: @@ -94,11 +94,11 @@ class RegionTileCollectionViewCell: UICollectionViewCell, TileableCell { if Client.providers.tileProvider.visibleTiles.contains(tileType) { accessoryButtonLeft.setImage(Theme.current.activeEyeImage(), for: .normal) accessoryButtonLeft.setImage(Theme.current.inactiveEyeImage(), for: .highlighted) - accessoryButtonLeft.accessibilityLabel = L10n.Tiles.Accessibility.Visible.Tile.action + accessoryButtonLeft.accessibilityLabel = L10n.Localizable.Tiles.Accessibility.Visible.Tile.action } else { accessoryButtonLeft.setImage(Theme.current.inactiveEyeImage(), for: .normal) accessoryButtonLeft.setImage(Theme.current.activeEyeImage(), for: .highlighted) - accessoryButtonLeft.accessibilityLabel = L10n.Tiles.Accessibility.Invisible.Tile.action + accessoryButtonLeft.accessibilityLabel = L10n.Localizable.Tiles.Accessibility.Invisible.Tile.action } }