(scriptId)
| 209 | } |
| 210 | |
| 211 | export async function toggleActiveScript(scriptId) { |
| 212 | let current = await isActiveScript(scriptId); |
| 213 | let newVal = !current; |
| 214 | setActiveScript(scriptId, newVal); |
| 215 | return newVal; |
| 216 | } |
| 217 | |
| 218 | // #endregion |
| 219 |
nothing calls this directly
no test coverage detected