Fix the backspace character.

This commit is contained in:
Jeremy Rand 2021-07-20 19:04:38 -04:00
parent 2a7361afa8
commit b389139826
2 changed files with 2 additions and 2 deletions

View File

@ -151,7 +151,7 @@ struct ContentView: View {
} }
var stringToSend = "" var stringToSend = ""
if (commonChars < self.textHeard.count) { if (commonChars < self.textHeard.count) {
stringToSend = String(repeating: "\u{8}", count: self.textHeard.count - commonChars) stringToSend = String(repeating: "\u{7f}", count: self.textHeard.count - commonChars)
} }
stringToSend.append(contentsOf: latestText.suffix(latestText.count - commonChars)) stringToSend.append(contentsOf: latestText.suffix(latestText.count - commonChars))

View File

@ -17,7 +17,7 @@
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>1.0</string> <string>1.0</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>66</string> <string>73</string>
<key>LSRequiresIPhoneOS</key> <key>LSRequiresIPhoneOS</key>
<true/> <true/>
<key>NSSpeechRecognitionUsageDescription</key> <key>NSSpeechRecognitionUsageDescription</key>