mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Fix incorrect logic in saving bluetooth setting
This commit is contained in:
parent
798a8f0b5e
commit
1f99878e2b
@ -217,6 +217,7 @@ private class VoiceInputActionWindow(
|
||||
override fun recordingStarted(device: MicrophoneDeviceState) {
|
||||
if (shouldPlaySounds) {
|
||||
state.soundPlayer.playStartSound()
|
||||
}
|
||||
|
||||
// Only set the setting if bluetooth is available, else it would reset the setting
|
||||
// every time it's used without a bluetooth device connected.
|
||||
@ -226,7 +227,6 @@ private class VoiceInputActionWindow(
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
override fun finished(result: String) {
|
||||
wasFinished = true
|
||||
|
Loading…
Reference in New Issue
Block a user