From 69649256f89078b26dfe1dce670adeaadf42475b Mon Sep 17 00:00:00 2001 From: Aleksandras Kostarevas Date: Tue, 5 Mar 2024 15:54:18 +0200 Subject: [PATCH] Fix comma key to open settings menu --- java/src/org/futo/inputmethod/latin/LatinIMELegacy.java | 5 +---- native/jni/Android.mk | 2 +- .../org/futo/voiceinput/shared/whisper/MultiModelRunner.kt | 2 -- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/java/src/org/futo/inputmethod/latin/LatinIMELegacy.java b/java/src/org/futo/inputmethod/latin/LatinIMELegacy.java index 34f53851d..12cfb137f 100644 --- a/java/src/org/futo/inputmethod/latin/LatinIMELegacy.java +++ b/java/src/org/futo/inputmethod/latin/LatinIMELegacy.java @@ -1353,10 +1353,7 @@ public class LatinIMELegacy implements KeyboardActionListener, } public void displaySettingsDialog() { - if (isShowingOptionDialog()) { - return; - } - showSubtypeSelectorAndSettings(); + launchSettings(""); } @Override diff --git a/native/jni/Android.mk b/native/jni/Android.mk index 7da3035bd..bd8171a03 100755 --- a/native/jni/Android.mk +++ b/native/jni/Android.mk @@ -19,7 +19,7 @@ LOCAL_ARM_NEON := true ############ some local flags # If you change any of those flags, you need to rebuild both libjni_latinime_common_static # and the shared library that uses libjni_latinime_common_static. -FLAG_DBG ?= true +FLAG_DBG ?= false FLAG_DO_PROFILE ?= false ###################################### diff --git a/voiceinput-shared/src/main/java/org/futo/voiceinput/shared/whisper/MultiModelRunner.kt b/voiceinput-shared/src/main/java/org/futo/voiceinput/shared/whisper/MultiModelRunner.kt index ae1f19b0c..14f5ac91e 100644 --- a/voiceinput-shared/src/main/java/org/futo/voiceinput/shared/whisper/MultiModelRunner.kt +++ b/voiceinput-shared/src/main/java/org/futo/voiceinput/shared/whisper/MultiModelRunner.kt @@ -64,8 +64,6 @@ class MultiModelRunner( "" } - println("This is the GLOSSARY :3 $glossary") - val result = try { callback.updateStatus(InferenceState.Encoding) primaryModel.infer(