activate

suspend fun activate(config: Config, justActivated: Boolean)(source)

Refresh the test product catalog and (when justActivated) present the modal. Runs as a TestModeState.Actions.Activate action and suspends until it completes, so callers that must not wait on the modal's blocking UI (e.g. ConfigState) launch it in their own scope.