Update extension.js
This commit is contained in:
parent
2e0161198e
commit
1536f51aeb
|
@ -28,11 +28,12 @@ class ErikrafTDropViewProvider {
|
||||||
|
|
||||||
getWebviewContent(webview) {
|
getWebviewContent(webview) {
|
||||||
const darkIconPath = webview.asWebviewUri(vscode.Uri.file(
|
const darkIconPath = webview.asWebviewUri(vscode.Uri.file(
|
||||||
path.join(this.extensionPath, 'images', 'ui-icon-dark.svg')
|
path.join(this.extensionPath, 'images', 'icon2.svg')
|
||||||
));
|
));
|
||||||
const lightIconPath = webview.asWebviewUri(vscode.Uri.file(
|
const lightIconPath = webview.asWebviewUri(vscode.Uri.file(
|
||||||
path.join(this.extensionPath, 'images', 'ui-icon-light.svg')
|
path.join(this.extensionPath, 'images', 'icon2.svg')
|
||||||
));
|
));
|
||||||
|
const iconPath = path.join(this.extensionPath, 'images', 'icon2.svg');
|
||||||
|
|
||||||
return `
|
return `
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
|
@ -89,6 +90,9 @@ class ErikrafTDropViewProvider {
|
||||||
|
|
||||||
<iframe
|
<iframe
|
||||||
src="https://drop.erikraft.com/"
|
src="https://drop.erikraft.com/"
|
||||||
|
width="390"
|
||||||
|
height="844"
|
||||||
|
style="border: none; border-radius: 16px;"
|
||||||
allow="clipboard-write; camera; microphone; autoplay;"
|
allow="clipboard-write; camera; microphone; autoplay;"
|
||||||
sandbox="allow-same-origin allow-scripts allow-popups allow-forms"
|
sandbox="allow-same-origin allow-scripts allow-popups allow-forms"
|
||||||
></iframe>
|
></iframe>
|
||||||
|
|
Loading…
Reference in New Issue