Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7803a22

Browse files
committedApr 20, 2024··
移动目录、降级 AGP 和修复 Type mismatch
1 parent b174084 commit 7803a22

20 files changed

+5
-5
lines changed
 

‎compose-app/src/androidMain/kotlin/xyz/xfqlittlefan/fhraise/link/DeepLinkActivity.kt ‎compose-app/src/androidMain/kotlin/link/DeepLinkActivity.kt

+4-4
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ class DeepLinkActivity : FhraiseActivity() {
2929
handleDeepLink(intent)
3030
}
3131

32-
override fun onNewIntent(intent: Intent?) {
32+
override fun onNewIntent(intent: Intent) {
3333
super.onNewIntent(intent)
3434
handleDeepLink(intent)
3535
}
3636

37-
private fun handleDeepLink(intent: Intent?) {
38-
val data = intent?.data
39-
if (intent == null || data == null) {
37+
private fun handleDeepLink(intent: Intent) {
38+
val data = intent.data
39+
if (data == null) {
4040
launchMain()
4141
return
4242
}

‎gradle/libs.versions.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ kotlinx-atomicfu = "0.23.2"
44
kotlinx-coroutines = "1.8.0"
55
kotlinx-datetime = "0.5.0"
66
kotlinx-serilization = "1.6.3"
7-
agp = "8.3.2"
7+
agp = "8.2.2"
88
androidx-core-splashscreen = "1.0.1"
99
androidx-window = "1.2.0"
1010
androidx-activity-compose = "1.9.0"

0 commit comments

Comments
 (0)
Please sign in to comment.