Поправлен клик сквозь экран загрузки

This commit is contained in:
Пытков Роман
2025-02-09 22:03:14 +03:00
parent 4404ef2ff4
commit e1646611c2
9 changed files with 122 additions and 44 deletions

View File

@@ -46,7 +46,13 @@ class EncryptedStorage private constructor(
override val isAvailable: StateFlow<Boolean>
get() = source.isAvailable
override val accessor: EncryptedStorageAccessor =
EncryptedStorageAccessor(source.accessor, encInfo.pathIv, key, "${uuid.toString().take(8)}$SYSTEM_HIDDEN_DIRNAME_POSTFIX", scope)
EncryptedStorageAccessor(
source = source.accessor,
pathIv = encInfo.pathIv,
key = key,
systemHiddenDirName = "${uuid.toString().take(8)}$SYSTEM_HIDDEN_DIRNAME_POSTFIX",
scope = scope
)
private suspend fun init() {
checkKey()

View File

@@ -51,7 +51,6 @@ class EncryptedStorageAccessor(
private val dataEncryptor = Encryptor(key.toAesKey())
private val pathEncryptor: EncryptorWithStaticIv? = if(pathIv != null) EncryptorWithStaticIv(key.toAesKey(), pathIv) else null
private var systemHiddenFiles: List<IFile>? = null
private var systemHiddenFilesIsActual = false
init {