mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2024-11-10 09:07:47 +01:00
chore: update dependencies
This commit is contained in:
parent
a995f43b7b
commit
36f864efbb
2 changed files with 11 additions and 10 deletions
|
@ -1,5 +1,6 @@
|
||||||
package app.revanced.manager.ui.viewmodel
|
package app.revanced.manager.ui.viewmodel
|
||||||
|
|
||||||
|
import android.app.Activity
|
||||||
import android.app.Application
|
import android.app.Application
|
||||||
import android.content.ActivityNotFoundException
|
import android.content.ActivityNotFoundException
|
||||||
import android.content.Intent
|
import android.content.Intent
|
||||||
|
@ -39,7 +40,7 @@ class MainViewModel(
|
||||||
val launcher = componentActivity.registerForActivityResult(
|
val launcher = componentActivity.registerForActivityResult(
|
||||||
ActivityResultContracts.StartActivityForResult()
|
ActivityResultContracts.StartActivityForResult()
|
||||||
) { result: ActivityResult ->
|
) { result: ActivityResult ->
|
||||||
if (result.resultCode == ComponentActivity.RESULT_OK) {
|
if (result.resultCode == Activity.RESULT_OK) {
|
||||||
result.data?.getStringExtra("data")?.let {
|
result.data?.getStringExtra("data")?.let {
|
||||||
applyLegacySettings(it)
|
applyLegacySettings(it)
|
||||||
} ?: app.toast(app.getString(R.string.legacy_import_failed))
|
} ?: app.toast(app.getString(R.string.legacy_import_failed))
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
[versions]
|
[versions]
|
||||||
ktx = "1.12.0"
|
ktx = "1.13.1"
|
||||||
material3 = "1.2.1"
|
material3 = "1.2.1"
|
||||||
ui-tooling = "1.6.4"
|
ui-tooling = "1.6.8"
|
||||||
viewmodel-lifecycle = "2.7.0"
|
viewmodel-lifecycle = "2.8.3"
|
||||||
splash-screen = "1.0.1"
|
splash-screen = "1.0.1"
|
||||||
compose-activity = "1.8.2"
|
compose-activity = "1.9.0"
|
||||||
paging = "3.2.1"
|
paging = "3.3.0"
|
||||||
preferences-datastore = "1.0.0"
|
preferences-datastore = "1.1.1"
|
||||||
work-runtime = "2.9.0"
|
work-runtime = "2.9.0"
|
||||||
compose-bom = "2024.03.00"
|
compose-bom = "2024.06.00"
|
||||||
accompanist = "0.34.0"
|
accompanist = "0.34.0"
|
||||||
placeholder = "1.1.2"
|
placeholder = "1.1.2"
|
||||||
reorderable = "1.5.2"
|
reorderable = "1.5.2"
|
||||||
|
@ -21,9 +21,9 @@ koin-version = "3.5.3"
|
||||||
koin-version-compose = "3.5.3"
|
koin-version-compose = "3.5.3"
|
||||||
reimagined-navigation = "1.5.0"
|
reimagined-navigation = "1.5.0"
|
||||||
ktor = "2.3.9"
|
ktor = "2.3.9"
|
||||||
markdown-renderer = "0.13.0"
|
markdown-renderer = "0.22.0"
|
||||||
fading-edges = "1.0.4"
|
fading-edges = "1.0.4"
|
||||||
androidGradlePlugin = "8.3.0"
|
androidGradlePlugin = "8.3.2"
|
||||||
kotlinGradlePlugin = "1.9.22"
|
kotlinGradlePlugin = "1.9.22"
|
||||||
devToolsGradlePlugin = "1.9.22-1.0.17"
|
devToolsGradlePlugin = "1.9.22-1.0.17"
|
||||||
aboutLibrariesGradlePlugin = "11.1.1"
|
aboutLibrariesGradlePlugin = "11.1.1"
|
||||||
|
|
Loading…
Reference in a new issue