diff --git a/subprojects/extensions-app/data/ui/extension-row.ui b/subprojects/extensions-app/data/ui/extension-row.ui index f54ab3c76..4753cbc23 100644 --- a/subprojects/extensions-app/data/ui/extension-row.ui +++ b/subprojects/extensions-app/data/ui/extension-row.ui @@ -54,7 +54,7 @@ - + True True center diff --git a/subprojects/extensions-app/js/main.js b/subprojects/extensions-app/js/main.js index 8b47c7b03..431be326b 100644 --- a/subprojects/extensions-app/js/main.js +++ b/subprojects/extensions-app/js/main.js @@ -334,6 +334,7 @@ var ExtensionRow = GObject.registerClass({ 'versionLabel', 'authorLabel', 'updatesIcon', + 'switch', 'revealButton', 'revealer', ], @@ -453,6 +454,9 @@ var ExtensionRow = GObject.registerClass({ action.set_state(new GLib.Variant('b', state)); action.enabled = this._canToggle(); + if (!action.enabled) + this._switch.active = state; + this._updatesIcon.visible = this.hasUpdate; this._versionLabel.label = this.version.toString();