Database bug fix (#5902)

* make database function calls suspending and update room version

* replace MainScope with coroutineScope for database operations

* add suspend keyword and refactor code
This commit is contained in:
Rohit Verma 2024-10-27 19:08:40 +05:30 committed by GitHub
parent bc065c8792
commit cdc4f89da5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 28 additions and 34 deletions

View file

@ -20,7 +20,7 @@ android.enableR8.fullMode=false
KOTLIN_VERSION=1.9.22
LEAK_CANARY_VERSION=2.10
DAGGER_VERSION=2.23
ROOM_VERSION=2.5.0
ROOM_VERSION=2.6.1
PREFERENCE_VERSION=1.1.0
CORE_KTX_VERSION=1.9.0
ADAPTER_DELEGATES_VERSION=4.3.0