fix: theme in ui attach
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user