Skip to content

Commit

Permalink
Enable 'Add TCP device' command only when connected to remote
Browse files Browse the repository at this point in the history
  • Loading branch information
nisargjhaveri committed Jan 11, 2025
1 parent 6b7bb82 commit f1c2370
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,17 +109,18 @@
"icon": "$(copy)",
"enablement": "view == remote-adb"
},
{
"command": "remote-adb.addTcpDevice",
"title": "Add TCP device",
"icon": "$(plus)",
"category": "Remote Android"
},
{
"command": "remote-adb.removeTcpDevice",
"title": "Remove device",
"icon": "$(trash)",
"enablement": "view == remote-adb"
},
{
"command": "remote-adb.addTcpDevice",
"title": "Add TCP device",
"icon": "$(plus)",
"category": "Remote Android",
"enablement": "remoteName"
}
]
},
Expand Down

0 comments on commit f1c2370

Please sign in to comment.