Update core to v1.12.0 (#1242)

* Update core to v1.12.0

* Fixed now nullable `PendingIntent` creation

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
This commit is contained in:
renovate[bot] 2023-09-12 12:00:29 +02:00 committed by GitHub
parent bd8b2d0a68
commit 04c82aa1a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -10,7 +10,7 @@ molecule = "1.2.0"
# AndroidX
material = "1.9.0"
core = "1.10.1"
core = "1.12.0"
datastore = "1.0.0"
constraintlayout = "2.1.4"
constraintlayout_compose = "1.0.1"

View file

@ -131,6 +131,6 @@ class PendingIntentFactory @Inject constructor(
fun createInviteListPendingIntent(sessionId: SessionId): PendingIntent {
val intent = intentProvider.getInviteListIntent(sessionId)
return PendingIntentCompat.getActivity(context, 0, intent, 0, false)
return PendingIntentCompat.getActivity(context, 0, intent, 0, false)!!
}
}