Skip to content

Commit

Permalink
Changed accessibilitySpeechLanguage to use OEVoice.preferredLanguage
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Lintott committed Sep 20, 2022
1 parent f2da35f commit cf037d0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public extension NSMutableAttributedString {
attributedString.setAttributes([
ipaKey: phonetic,
.accessibilityTextCustom: ["Old English"],
.accessibilitySpeechLanguage: "en-US"
.accessibilitySpeechLanguage: OEVoice.preferredLanguage
], range: range)
}
}
Expand Down

0 comments on commit cf037d0

Please sign in to comment.