diff options
author | YLokhmatov@luxoft.com <zaqqqqqqqq@gmail.com> | 2021-02-20 00:34:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-20 00:34:32 +0200 |
commit | 575f2b4c085ac3710cc0ddadd1ca4951359dab46 (patch) | |
tree | bec69498433e05e9950043876cad2bff6d8ee224 | |
parent | 9cab7e908ca183baa336cbf9e3a490cb12889b0e (diff) | |
download | sdl_ios-575f2b4c085ac3710cc0ddadd1ca4951359dab46.tar.gz |
Update SmartDeviceLink/private/SDLWindowCapability+ScreenManagerExtensions.m
Co-authored-by: Joel Fischer <joeljfischer@gmail.com>
-rw-r--r-- | SmartDeviceLink/private/SDLWindowCapability+ScreenManagerExtensions.m | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/SmartDeviceLink/private/SDLWindowCapability+ScreenManagerExtensions.m b/SmartDeviceLink/private/SDLWindowCapability+ScreenManagerExtensions.m index 1509e8b92..9aa00fa62 100644 --- a/SmartDeviceLink/private/SDLWindowCapability+ScreenManagerExtensions.m +++ b/SmartDeviceLink/private/SDLWindowCapability+ScreenManagerExtensions.m @@ -80,7 +80,6 @@ if (keyboardConfiguration.customKeys.count == 0) { modifiedKeyboardConfiguration.customKeys = nil; } else { - // If there are more custom keys than are allowed for the selected keyboard layout, we need to trim the number of keys to only use the first n number of custom keys, where n is the number of allowed custom keys for that layout. NSUInteger numConfigurableKeys = selectedLayoutCapability.numConfigurableKeys.unsignedIntegerValue; if (modifiedKeyboardConfiguration.customKeys.count > numConfigurableKeys) { SDLLogW(@"%lu custom keys set, but the selected layout: %@ only supports %lu. Dropping the rest.", (unsigned long)modifiedKeyboardConfiguration.customKeys.count, modifiedKeyboardConfiguration.keyboardLayout, (unsigned long)numConfigurableKeys); |