fix: load patch bundles earlier

This commit is contained in:
Ax333l 2023-11-29 22:11:57 +01:00
parent bd9778a3d1
commit 9cab91959e
No known key found for this signature in database
GPG Key ID: D2B4D85271127D23

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)