Skip to content

Commit 78f24a9

Browse files
committed
fixed linter error 'InvalidFragmentVersionForActivityResult from androidx.activity'
1 parent 9bfd522 commit 78f24a9

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

app/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ dependencies {
120120
implementation(libs.androidx.naviation.compose)
121121
implementation(libs.androidx.lifecycle.runtime)
122122
implementation(libs.androidx.core.splashscreen)
123+
implementation(libs.androidx.fragment.ktx)
123124

124125
//compose
125126
implementation(libs.androidx.activity.compose)

gradle/libs.versions.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[versions]
22
firebaseBom = "33.15.0"
3+
fragmentKtx = "1.8.9"
34
ktxCore = "1.13.1"
45
ktxLifecycleRuntime = "2.8.6"
56
composeNavigation = "2.8.3"
@@ -26,6 +27,7 @@ googleServicesPlugin = "4.4.3"
2627
firebaseCrashlytics = "3.0.5"
2728

2829
[libraries]
30+
androidx-fragment-ktx = { module = "androidx.fragment:fragment-ktx", version.ref = "fragmentKtx" }
2931
androidx-naviation-compose = { group = "androidx.navigation", name = "navigation-compose", version.ref = "composeNavigation" }
3032
androidx-ktx-core = { group = "androidx.core", name = "core-ktx", version.ref = "ktxCore" }
3133
androidx-lifecycle-runtime = { group = "androidx.lifecycle", name = "lifecycle-runtime-ktx", version.ref = "ktxLifecycleRuntime" }

0 commit comments

Comments
 (0)