(useCodeTheme: boolean)
| 47 | } |
| 48 | |
| 49 | public styleHtml(useCodeTheme: boolean) { |
| 50 | if (useCodeTheme) { |
| 51 | this.panel.webview.html = this.htmlDarkContent ?? ''; |
| 52 | } else { |
| 53 | this.panel.webview.html = this.htmlLightContent ?? ''; |
| 54 | } |
| 55 | } |
| 56 | |
| 57 | public async refreshContent(useCodeTheme: boolean) { |
| 58 | this.getHtmlContent(await readContent(this.outputUri.fsPath, 'utf8') ?? ''); |
no outgoing calls
no test coverage detected