(fileName: string)
| 2788 | } |
| 2789 | |
| 2790 | function clearAppInstallStatusLater(fileName: string) { |
| 2791 | if (appInstallStatusTimeoutRef.current) { |
| 2792 | window.clearTimeout(appInstallStatusTimeoutRef.current); |
| 2793 | } |
| 2794 | appInstallStatusTimeoutRef.current = window.setTimeout(() => { |
| 2795 | appInstallStatusTimeoutRef.current = 0; |
| 2796 | setAppInstallState((current) => |
| 2797 | current?.phase === "installed" && current.fileName === fileName |
| 2798 | ? null |
| 2799 | : current, |
| 2800 | ); |
| 2801 | }, 1800); |
| 2802 | } |
| 2803 | |
| 2804 | function rotateSelectedSimulator(direction: "left" | "right") { |
| 2805 | if (!selectedSimulator) { |
no test coverage detected