From a65b20a929413a9823b6062fdf29e2109505a1ec Mon Sep 17 00:00:00 2001 From: eranl <1707552+eranl@users.noreply.github.com> Date: Wed, 25 Mar 2026 21:10:00 +0200 Subject: [PATCH] Don't flip parentheses on RTL languages, as Samsung phones seem to currently not need that --- .../keyboard/internal/keyboard_parser/floris/KeyLabel.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/helium314/keyboard/keyboard/internal/keyboard_parser/floris/KeyLabel.kt b/app/src/main/java/helium314/keyboard/keyboard/internal/keyboard_parser/floris/KeyLabel.kt index a622c5e1ee..f20f2c0fc5 100644 --- a/app/src/main/java/helium314/keyboard/keyboard/internal/keyboard_parser/floris/KeyLabel.kt +++ b/app/src/main/java/helium314/keyboard/keyboard/internal/keyboard_parser/floris/KeyLabel.kt @@ -66,7 +66,7 @@ object KeyLabel { } fun String.rtlLabel(params: KeyboardParams): String { - if (!params.mId.mSubtype.isRtlSubtype || params.mId.isNumberLayout) return this + if (true) return this return when (this) { "{" -> "{|}" "}" -> "}|{"