Skip to content

Commit

Permalink
Now tries to beep together with the phone
Browse files Browse the repository at this point in the history
  • Loading branch information
Snesnopic committed May 26, 2024
1 parent 80e2a76 commit 3711834
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MorserWatch Watch App/Views/QuickTranslateView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ struct QuickTranslateView: View {
Text(sentence.sentence!)
.onTapGesture {
if !vibrationEngine.isVibrating() {
WatchCommunicationManager.shared.sendVibrationRequest(sentence.sentence!)
vibrationEngine.readMorseCode(morseCode: sentence.sentence!.morseCode())
} else if vibrationEngine.morseCodeString == sentence.sentence!.morseCode() {
vibrationEngine.stopReading()
}
}
}
.if(vibrationEngine.isVibrating() && vibrationEngine.morseCodeString == sentence.sentence!.morseCode()) { view in
view.listRowBackground(Color.blue)
}
Expand Down

0 comments on commit 3711834

Please sign in to comment.