fix crash when locking hidden private space

This commit is contained in:
MM20
2026-07-19 21:39:34 +02:00
parent 3f4deead1b
commit f5269845c8
4 changed files with 47 additions and 39 deletions

View File

@@ -57,8 +57,8 @@ class ProfileManager(
it.values.map { it.profile }.sortedBy { it.type }
}
val profileStates: Flow<Map<Profile, Profile.State>> = profileMap.map {
it.values.associate { it.profile to it.state }
val profileStates: Flow<Map<Profile.Type, Profile.State>> = profileMap.map {
it.values.associate { it.profile.type to it.state }
}
/**