mirror of
https://github.com/mastodon/mastodon-ios
synced 2025-04-11 22:58:02 +02:00
Consistently handle “A11y” key
This commit is contained in:
parent
99b59dde70
commit
d96f189980
@ -43,7 +43,12 @@ extension Parser {
|
||||
.map {
|
||||
switch keyStyle {
|
||||
case .infoPlist: return $0
|
||||
case .swiftgen: return $0.capitalized
|
||||
case .swiftgen:
|
||||
if $0 == "a11y" {
|
||||
return "A11y"
|
||||
} else {
|
||||
return $0.capitalized
|
||||
}
|
||||
}
|
||||
}
|
||||
.joined()
|
||||
|
Loading…
x
Reference in New Issue
Block a user