MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / handleSimulatorCreated

Function handleSimulatorCreated

packages/client/src/app/AppShell.tsx:2644–2656  ·  view source on GitHub ↗
(response: {
    simulator: SimulatorMetadata;
    pairedWatchSimulator?: SimulatorMetadata | null;
  })

Source from the content-addressed store, hash-verified

2642 }
2643
2644 function handleSimulatorCreated(response: {
2645 simulator: SimulatorMetadata;
2646 pairedWatchSimulator?: SimulatorMetadata | null;
2647 }) {
2648 updateSimulator(response.simulator);
2649 if (response.pairedWatchSimulator) {
2650 updateSimulator(response.pairedWatchSimulator);
2651 }
2652 setSelectedUDID(response.simulator.udid);
2653 setNewSimulatorOpen(false);
2654 setLocalError("");
2655 void refresh();
2656 }
2657
2658 function openInstallAppPicker() {
2659 if (!selectedSimulator) {

Callers

nothing calls this directly

Calls 1

refreshFunction · 0.50

Tested by

no test coverage detected