update kotlinx-coroutines to 1.6.4

This commit is contained in:
2dust committed 2023-03-29 16:15:43 +08:00
1 parent de83302c8a
commit 6a64157537
2 files changed
+5 -3

No files matched your search

+2 -2
View File
@@ -124,8 +124,8 @@ dependencies {
//kotlin //kotlin
implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion" implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2" implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.2" implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4"
implementation 'com.tencent:mmkv-static:1.2.12' implementation 'com.tencent:mmkv-static:1.2.12'
implementation 'com.google.code.gson:gson:2.8.9' implementation 'com.google.code.gson:gson:2.8.9'
@@ -631,7 +631,9 @@ class MainActivity : BaseActivity(), NavigationView.OnNavigationItemSelectedList
if (binding.drawerLayout.isDrawerOpen(GravityCompat.START)) { if (binding.drawerLayout.isDrawerOpen(GravityCompat.START)) {
binding.drawerLayout.closeDrawer(GravityCompat.START) binding.drawerLayout.closeDrawer(GravityCompat.START)
} else { } else {
super.onBackPressed() //super.onBackPressed()
onBackPressedDispatcher.onBackPressed()
} }
} }