Skip to content

Commit 2f7c37e

Browse files
committed
fix(hermes-agent): expose root as pluginApi.mainInstance so Panel/Settings/BarWidget/Launcher can call session methods
1 parent 3597572 commit 2f7c37e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

hermes-agent/Main.qml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,7 @@ Item {
357357
}
358358

359359
Component.onCompleted: {
360+
if (pluginApi) pluginApi.mainInstance = root;
360361
root.ensureBridge();
361362
if (root.pinnedPanelRequested && root.pinnedPanelVisible) {
362363
root.openPinnedPanel(null);

0 commit comments

Comments
 (0)