()
| 2027 | } |
| 2028 | |
| 2029 | function toggleSoftwareKeyboard() { |
| 2030 | if (!selectedSimulator) { |
| 2031 | return; |
| 2032 | } |
| 2033 | if ( |
| 2034 | !sendControl(selectedSimulator.udid, { |
| 2035 | type: "toggleSoftwareKeyboard", |
| 2036 | }) |
| 2037 | ) { |
| 2038 | setLocalError("Simulator control stream disconnected."); |
| 2039 | } |
| 2040 | } |
| 2041 | |
| 2042 | function setTransientCaptureStatus(label: string, busy: boolean) { |
| 2043 | if (captureStatusTimeoutRef.current) { |
no test coverage detected