fix(#545): fix gated ws auth loop and ticket refresh (#546)

Fix gated close codes, run ticket refresh on Dispatchers.IO, prevent scope race on startup, and auto-format files.
This commit is contained in:
M57
2026-07-11 00:21:23 +03:00
committed by GitHub
parent 53b3966931
commit 480d29e481
12 changed files with 118 additions and 24 deletions
@@ -55,7 +55,10 @@ class KeysViewModel :
private fun buildCategoryList(
envVars: Map<String, EnvVarConfig>,
expandedCategories: Set<String> = _uiState.value.categories.map { it.name }.toSet(),
expandedCategories: Set<String> =
_uiState.value.categories
.map { it.name }
.toSet(),
): List<CategorySection> {
// Group by category, uncategorized go to "Other"
val grouped = mutableMapOf<String, MutableMap<String, EnvVarConfig>>()