Skip to content

Commit

Permalink
Fix review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kmagiera committed Nov 5, 2024
1 parent c967767 commit e7a8406
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/vscode-extension/src/project/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ export class Project
hasEnrolledBiometrics: false,
locale: "en_US",
replaysEnabled: false,
showTouches: false,
};
this.devtools = new Devtools();
this.metro = new Metro(this.devtools, this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ function DeviceSettingsDropdown({ children, disabled }: DeviceSettingsDropdownPr
project.updateDeviceSettings({ ...deviceSettings, replaysEnabled: checked })
}
defaultChecked={deviceSettings.replaysEnabled}
style={{ marginLeft: "5px" }}>
style={{ marginLeft: "auto" }}>
<Switch.Thumb className="switch-thumb" />
</Switch.Root>
</div>
Expand All @@ -183,7 +183,7 @@ function DeviceSettingsDropdown({ children, disabled }: DeviceSettingsDropdownPr
project.updateDeviceSettings({ ...deviceSettings, showTouches: checked })
}
defaultChecked={deviceSettings.showTouches}
style={{ marginLeft: "5px" }}>
style={{ marginLeft: "auto" }}>
<Switch.Thumb className="switch-thumb" />
</Switch.Root>
</div>
Expand Down

0 comments on commit e7a8406

Please sign in to comment.