keyboard: Minor refactor

Call the _updateKeys() method, instead of inlining it.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3162>
This commit is contained in:
Carlos Garnacho 2024-01-26 16:18:38 +01:00
parent cfc0d42c7a
commit 9c8452269d

View File

@ -1411,8 +1411,7 @@ export const Keyboard = GObject.registerClass({
this._keypad.hide();
this._keypadVisible = false;
this._ensureKeysForGroup(this._keyboardController.getCurrentGroup());
this._setActiveLayer(0);
this._updateKeys();
Main.inputMethod.connectObject(
'terminal-mode-changed', this._onTerminalModeChanged.bind(this),