From be13ca40a13170c90e7bc86e8e26e67a159801ef Mon Sep 17 00:00:00 2001 From: Helium314 Date: Fri, 30 Aug 2024 20:58:44 +0200 Subject: [PATCH] fix setting the correct script in tests --- app/src/test/java/helium314/keyboard/latin/InputLogicTest.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/test/java/helium314/keyboard/latin/InputLogicTest.kt b/app/src/test/java/helium314/keyboard/latin/InputLogicTest.kt index 2d3199f30..d145f1a6e 100644 --- a/app/src/test/java/helium314/keyboard/latin/InputLogicTest.kt +++ b/app/src/test/java/helium314/keyboard/latin/InputLogicTest.kt @@ -1011,8 +1011,7 @@ class ShadowKeyboardSwitcher { // only affects view fun setOneHandedModeEnabled(enabled: Boolean) = Unit @Implementation - // only affects view - fun getCurrentKeyboardScriptId() = currentScript + fun getCurrentKeyboardScript() = currentScript } @Implements(DictionaryFacilitatorImpl::class)