xilem calc: Use Unicode minus sign. (#566)

This lets it get read out correctly by VoiceOver in accessibility code
rather than read as a hyphen or dash.
This commit is contained in:
Bruce Mitchener 2024-08-30 11:18:25 +07:00 committed by GitHub
parent ac95f2524a
commit 6c4951635d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ impl MathOperator {
fn as_str(&self) -> &'static str {
match self {
MathOperator::Add => "+",
MathOperator::Subtract => "-",
MathOperator::Subtract => "\u{2212}",
MathOperator::Multiply => "×",
MathOperator::Divide => "÷",
}