fix: theme in ui attach

This commit is contained in:
Cristina Poncela Cubeiro
2026-06-18 16:11:04 +02:00
parent 337de9b078
commit 1d5fd23568
4 changed files with 31 additions and 6 deletions
+4
View File
@@ -104,6 +104,7 @@ export class OrchestratorSupervisor {
| {
handleRpc(command: RpcCommand): Promise<RpcResponse>;
handleUiResponse(response: RpcExtensionUIResponse): void;
setHostTheme(theme: unknown): void;
close(): void;
}
| undefined {
@@ -122,6 +123,9 @@ export class OrchestratorSupervisor {
handleUiResponse: (response) => {
live.uiBridge.handleResponse(response);
},
setHostTheme: (theme) => {
live.uiBridge.setThemeOverride(theme);
},
close: () => {
detachUi();
live.subscribers.delete(onEvent);