fix(sync): запретил зашифрованные storage в группах и перевёл резолв storages на FindStorageUseCase

This commit is contained in:
2026-05-17 18:04:20 +03:00
parent e562e4d9e9
commit 8fd10084f7
7 changed files with 22 additions and 33 deletions

View File

@@ -33,10 +33,7 @@ class UnlockManager(
override fun getOpenedStorageKey(uuid: UUID): EncryptKey? {
val opened = _openedStorages.value
val direct = opened[uuid]
if (direct != null) {
return direct.getKey()
}
return null
return direct?.getKey()
}
init {