mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-08 04:42:11 +00:00
RepoDB does not need to run on main thread
This commit is contained in:
@@ -20,5 +20,4 @@ val databaseModule = module {
|
||||
fun createRepoDatabase(context: Context) =
|
||||
Room.databaseBuilder(context, RepoDatabase::class.java, "repo.db")
|
||||
.fallbackToDestructiveMigration()
|
||||
.allowMainThreadQueries()
|
||||
.build()
|
||||
|
||||
Reference in New Issue
Block a user