diff --git a/.swiftlint.yml b/.swiftlint.yml index dca41c66..4d476b91 100644 --- a/.swiftlint.yml +++ b/.swiftlint.yml @@ -16,7 +16,6 @@ disabled_rules: - opening_brace - blanket_disable_command - for_where - - void_function_in_ternary - empty_enum_arguments - closure_parameter_position diff --git a/Keyboards/KeyboardsBase/KeyboardViewController.swift b/Keyboards/KeyboardsBase/KeyboardViewController.swift index dcbed5e3..66455666 100644 --- a/Keyboards/KeyboardsBase/KeyboardViewController.swift +++ b/Keyboards/KeyboardsBase/KeyboardViewController.swift @@ -2571,7 +2571,11 @@ class KeyboardViewController: UIInputViewController { capsLockPossible = true case "123", ".?123": - usingExpandedKeyboard == true ? changeKeyboardToSymbolKeys() : changeKeyboardToNumberKeys() + if usingExpandedKeyboard { + changeKeyboardToSymbolKeys() + } else { + changeKeyboardToNumberKeys() + } case "#+=": changeKeyboardToSymbolKeys()