Перенос localVault в domain-storage

This commit is contained in:
2026-05-11 20:54:15 +03:00
parent 3928ac5409
commit 9ceb8bd934
3 changed files with 58 additions and 49 deletions

View File

@@ -18,7 +18,6 @@ import com.github.nullptroma.wallenc.infrastructure.ports.YandexAccountStore
import com.github.nullptroma.wallenc.task.runtime.TaskOrchestrator
import com.github.nullptroma.wallenc.infrastructure.vaults.VaultsManager
import com.github.nullptroma.wallenc.infrastructure.vaults.local.LocalVault
import com.github.nullptroma.wallenc.infrastructure.vaults.local.LocalVaultIdStore
import com.github.nullptroma.wallenc.domain.interfaces.IUnlockManager
import com.github.nullptroma.wallenc.domain.interfaces.IVault
import com.github.nullptroma.wallenc.domain.interfaces.IVaultsManager
@@ -92,8 +91,7 @@ class SingletonModule {
@ApplicationContext context: Context,
): IVault = LocalVault(
ioDispatcher = ioDispatcher,
context = context,
idStore = LocalVaultIdStore(context),
vaultRoot = context.getExternalFilesDir("LocalVault"),
)
@Provides