From b44dd29b0c722457e803bf4459b32f6a9a0f7a7c Mon Sep 17 00:00:00 2001 From: Helium314 Date: Tue, 27 May 2025 18:14:05 +0200 Subject: [PATCH] consider implicitly enabled subtypes when switching with language switch button fixes GH-1608 --- app/src/main/java/helium314/keyboard/latin/LatinIME.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/helium314/keyboard/latin/LatinIME.java b/app/src/main/java/helium314/keyboard/latin/LatinIME.java index 83dbf9f58..d58c7609d 100644 --- a/app/src/main/java/helium314/keyboard/latin/LatinIME.java +++ b/app/src/main/java/helium314/keyboard/latin/LatinIME.java @@ -1461,7 +1461,7 @@ public class LatinIME extends InputMethodService implements // switch IME if wanted and possible if (switchIme && !switchSubtype && switchInputMethod()) return; - final boolean hasMoreThanOneSubtype = mRichImm.getMyEnabledInputMethodSubtypeList(false).size() > 1; + final boolean hasMoreThanOneSubtype = mRichImm.getMyEnabledInputMethodSubtypeList(true).size() > 1; // switch subtype if wanted, do nothing if no other subtype is available if (switchSubtype && !switchIme) { if (hasMoreThanOneSubtype)