Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions packages/vscode-extension/src/webview/views/PreviewView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,10 @@ function PreviewView() {
navBarButtonsActive &&
isRunning &&
inspectorAvailabilityStatus === InspectorAvailabilityStatus.Available;
const debuggerToolsButtonsActive = navBarButtonsActive; // this stays in sync with navBarButtonsActive, but we will enable it for radon connect later
// this stays in sync with navBarButtonsActive, but we will enable it for radon connect later,
// once we support js and react profiling in radon connect.
const debuggerToolsButtonsActive = navBarButtonsActive;
const debugConsoleButtonActive = navBarButtonsActive || radonConnectConnected;

const deviceProperties = iOSSupportedDevices.concat(AndroidSupportedDevices).find((sd) => {
return sd.modelId === modelId;
Expand Down Expand Up @@ -441,7 +444,7 @@ function PreviewView() {
tooltip={{
label: "Open logs panel",
}}
disabled={!debuggerToolsButtonsActive}>
disabled={!debugConsoleButtonActive}>
<span slot="start" className="codicon codicon-debug-console" />
</IconButton>
<SettingsDropdown project={project} isDeviceRunning={isRunning || radonConnectConnected}>
Expand Down
Loading