File tree Expand file tree Collapse file tree 3 files changed +5
-7
lines changed
vector/src/main/java/im/vector/app/features/location/live/map Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ ext.libs = [
101101 ],
102102 element : [
103103 ' opusencoder' : " io.element.android:opusencoder:1.1.0" ,
104- ' wysiwyg' : " io.element.android:wysiwyg:2.37.4 "
104+ ' wysiwyg' : " io.element.android:wysiwyg:2.38.2 "
105105 ],
106106 squareup : [
107107 ' moshi' : " com.squareup.moshi:moshi:$moshi " ,
Original file line number Diff line number Diff line change 9393-dontwarn org.commonmark.ext.gfm.strikethrough.Strikethrough
9494-dontwarn org.mozilla.javascript.**
9595-dontwarn org.slf4j.**
96+ -dontwarn org.jspecify.annotations.NullMarked
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ import org.matrix.android.sdk.api.session.room.model.livelocation.LiveLocationSh
1717import org.matrix.android.sdk.api.util.MatrixItem
1818import org.matrix.android.sdk.api.util.toMatrixItem
1919import javax.inject.Inject
20+ import kotlin.coroutines.resume
2021
2122class UserLiveLocationViewStateMapper @Inject constructor(
2223 private val locationPinProvider : LocationPinProvider ,
@@ -32,9 +33,7 @@ class UserLiveLocationViewStateMapper @Inject constructor(
3233 .toLocationData()
3334
3435 when {
35- userId.isNullOrEmpty() || locationData == null -> continuation.resume(null ) {
36- // do nothing on cancellation
37- }
36+ userId.isNullOrEmpty() || locationData == null -> continuation.resume(null )
3837 else -> {
3938 val session = activeSessionHolder.getActiveSession()
4039 val roomId = liveLocationShareAggregatedSummary.roomId
@@ -57,9 +56,7 @@ class UserLiveLocationViewStateMapper @Inject constructor(
5756 locationTimestampMillis = locationTimestampMillis,
5857 showStopSharingButton = userId == session.myUserId
5958 )
60- continuation.resume(viewState) {
61- // do nothing on cancellation
62- }
59+ continuation.resume(viewState)
6360 }
6461 }
6562 }
You can’t perform that action at this time.
0 commit comments