Restore allowMainThreadQueries, prepare to suspendize DownloadManager
This commit is contained in:
1 parent
389f27dfa1
commit
3f53710c5b
1 file changed
+1
-1
@@ -36,7 +36,7 @@ import com.hippo.ehviewer.util.sendTo
|
||||
import splitties.arch.room.roomDb
|
||||
|
||||
object EhDB {
|
||||
private val db = roomDb<EhDatabase>("eh.db")
|
||||
private val db = roomDb<EhDatabase>("eh.db") { allowMainThreadQueries() }
|
||||
|
||||
// Fix state
|
||||
@get:Synchronized
|
||||
|
||||
Reference in new issue
Block a user