fix(sync): запретил зашифрованные storage в группах и перевёл резолв storages на FindStorageUseCase
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user