File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
packages/vscode-extension/src/webview/views Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -188,7 +188,10 @@ function PreviewView() {
188188 navBarButtonsActive &&
189189 isRunning &&
190190 inspectorAvailabilityStatus === InspectorAvailabilityStatus . Available ;
191- const debuggerToolsButtonsActive = navBarButtonsActive ; // this stays in sync with navBarButtonsActive, but we will enable it for radon connect later
191+ // this stays in sync with navBarButtonsActive, but we will enable it for radon connect later,
192+ // once we support js and react profiling in radon connect.
193+ const debuggerToolsButtonsActive = navBarButtonsActive ;
194+ const debugConsoleButtonActive = navBarButtonsActive || radonConnectConnected ;
192195
193196 const deviceProperties = iOSSupportedDevices . concat ( AndroidSupportedDevices ) . find ( ( sd ) => {
194197 return sd . modelId === modelId ;
@@ -441,7 +444,7 @@ function PreviewView() {
441444 tooltip = { {
442445 label : "Open logs panel" ,
443446 } }
444- disabled = { ! debuggerToolsButtonsActive } >
447+ disabled = { ! debugConsoleButtonActive } >
445448 < span slot = "start" className = "codicon codicon-debug-console" />
446449 </ IconButton >
447450 < SettingsDropdown project = { project } isDeviceRunning = { isRunning || radonConnectConnected } >
You can’t perform that action at this time.
0 commit comments