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 authored and GitHub committed 2026-07-11 00:21:23 +03:00
1 parent 53b3966931
commit 480d29e481
12 files changed
+118 -24

No files matched your search

@@ -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>>()