Skip to content

Commit

Permalink
update provier id
Browse files Browse the repository at this point in the history
  • Loading branch information
daoauth committed Nov 9, 2024
1 parent 88ff55d commit 7eafa62
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,25 +24,25 @@
"theme": "dark"
},
"activationEvents": [
"onView:webviewViewProvider"
"onView:webviewViewProviderAptos"
],
"main": "./out/extension.js",
"browser": "./out/web/extension.js",
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "extensionSidebar",
"id": "extensionSidebarAptos",
"title": "Aptos Extension",
"icon": "media/icon-side.png"
}
]
},
"views": {
"extensionSidebar": [
"extensionSidebarAptos": [
{
"id": "webviewViewProviderAptos",
"type": "webview",
"id": "webviewViewProvider",
"name": "Aptos Extension"
}
]
Expand All @@ -61,7 +61,7 @@
"view/title": [
{
"command": "extension.openDocs",
"when": "view == webviewViewProvider",
"when": "view == webviewViewProviderAptos",
"group": "navigation"
}
]
Expand Down
2 changes: 1 addition & 1 deletion src/webviewPovider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
} from './webview/src/utilities/cli';

export class WebviewViewProvider implements vscode.WebviewViewProvider {
public static readonly viewType = 'webviewViewProvider';
public static readonly viewType = 'webviewViewProviderAptos';
private _view?: vscode.WebviewView;

private readonly _context;
Expand Down

0 comments on commit 7eafa62

Please sign in to comment.