fix: load patch bundles earlier

This commit is contained in:
Ax333l
2023-11-29 22:11:57 +01:00
committed by oSumAtrIX
parent 3af26e7065
commit a2f9e2f1da

View File

@@ -18,7 +18,10 @@ val repositoryModule = module {
singleOf(::PatchBundlePersistenceRepository)
singleOf(::PatchSelectionRepository)
singleOf(::PatchOptionsRepository)
singleOf(::PatchBundleRepository)
singleOf(::PatchBundleRepository) {
// It is best to load patch bundles ASAP
createdAtStart()
}
singleOf(::WorkerRepository)
singleOf(::DownloadedAppRepository)
singleOf(::InstalledAppRepository)