Compare commits

..

2 Commits

Author SHA1 Message Date
Jules Aguillon
08a1774055 Fix crash with unexpected value in NumberLayout pref 2025-07-02 23:04:47 +02:00
Jules Aguillon
957dbdc7fe Fix fastlane metadata
Some checks failed
Check layouts / check_layout.output (push) Has been cancelled
Check layouts / Generated files (push) Has been cancelled
Make Apk CI / Build-Apk (push) Has been cancelled
Check translations / check-translations (push) Has been cancelled
2025-07-02 01:52:43 +02:00
10 changed files with 16 additions and 7 deletions

View File

@@ -4,4 +4,3 @@ Improved selection mode
Bug fixes and many other improvements
Huge thanks to the contributors: @alotbsol555, @bergentroll, @dacc9, @HaleyHalcyon, @Jaoheah, @jorexdeveloper, @malbajun, @matejdro, @Spike-from-NH, @tenextractor
And to the translators: 𝕠𝕠𝕠𝕝 (𝕘𝕚𝕥𝕙𝕦𝕓.𝕔𝕠𝕞/𝕠𝕠𝕠𝕝), Packss, Joppla, Validbit, Chasm Solacer, Akal!, Edgars Andersons, Mehmet Ali Cuma, 是果宝呐, Giuseppe Barichello, marciozomb13, Bora Atıcı, Péter Czeglédy, Jonatas P

View File

@@ -168,7 +168,7 @@ public final class Config
switch_input_immediate = _prefs.getBoolean("switch_input_immediate", false);
extra_keys_param = ExtraKeysPreference.get_extra_keys(_prefs);
extra_keys_custom = CustomExtraKeysPreference.get(_prefs);
selected_number_layout = NumberLayout.valueOf(_prefs.getString("number_entry_layout", "pin").toUpperCase());
selected_number_layout = NumberLayout.of_string(_prefs.getString("number_entry_layout", "pin"));
current_layout_portrait = _prefs.getInt("current_layout_portrait", 0);
current_layout_landscape = _prefs.getInt("current_layout_landscape", 0);
current_layout_unfolded_portrait = _prefs.getInt("current_layout_unfolded_portrait", 0);

View File

@@ -3,5 +3,15 @@ package juloo.keyboard2;
public enum NumberLayout {
PIN,
NUMBER,
NORMAL
NORMAL;
public static NumberLayout of_string(String name)
{
switch (name)
{
case "number": return NUMBER;
case "normal": return NORMAL;
case "pin": default: return PIN;
}
}
}

View File

@@ -14,9 +14,9 @@ VALUE_DIR_TO_METADATA = {
"en": "en-US",
"es": "es-ES",
"fa": "fa-IR",
"fil": "fil-PH",
"fil": "fil",
"fr": "fr-FR",
"in": "in-ID",
"in": "id",
"it": "it-IT",
"ja": "ja-JP",
"ko": "ko-KR",