From f66df6759296f015f9e8417cc1ffb8b894ca6028 Mon Sep 17 00:00:00 2001 From: Alex Baker Date: Thu, 18 Jul 2024 00:09:35 -0500 Subject: [PATCH] Use default arch thread pool --- app/src/main/java/org/tasks/injection/ProductionModule.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/src/main/java/org/tasks/injection/ProductionModule.kt b/app/src/main/java/org/tasks/injection/ProductionModule.kt index be71da63f..efe71de18 100644 --- a/app/src/main/java/org/tasks/injection/ProductionModule.kt +++ b/app/src/main/java/org/tasks/injection/ProductionModule.kt @@ -7,7 +7,6 @@ import dagger.Provides import dagger.hilt.InstallIn import dagger.hilt.android.qualifiers.ApplicationContext import dagger.hilt.components.SingletonComponent -import kotlinx.coroutines.Dispatchers import org.tasks.BuildConfig import org.tasks.R import org.tasks.caldav.FileStorage @@ -37,7 +36,6 @@ internal class ProductionModule { context = context, name = databaseFile.absolutePath ) - .setQueryCoroutineContext(Dispatchers.IO) .addMigrations(*Migrations.migrations(context, fileStorage)) if (!BuildConfig.DEBUG || !preferences.getBoolean(R.string.p_crash_main_queries, false)) { builder.allowMainThreadQueries()