diff --git a/features/share/impl/src/main/kotlin/io/element/android/features/share/impl/SharePresenter.kt b/features/share/impl/src/main/kotlin/io/element/android/features/share/impl/SharePresenter.kt index 07668a6628..c0ebb4ee16 100644 --- a/features/share/impl/src/main/kotlin/io/element/android/features/share/impl/SharePresenter.kt +++ b/features/share/impl/src/main/kotlin/io/element/android/features/share/impl/SharePresenter.kt @@ -49,7 +49,7 @@ class SharePresenter @AssistedInject constructor( private val shareActionState: MutableState>> = mutableStateOf(AsyncAction.Uninitialized) fun onRoomSelected(roomIds: List) { - appCoroutineScope.share(intent, roomIds, shareActionState) + appCoroutineScope.share(intent, roomIds) } @Composable @@ -69,7 +69,6 @@ class SharePresenter @AssistedInject constructor( private fun CoroutineScope.share( intent: Intent, roomIds: List, - shareActionState: MutableState>>, ) = launch { suspend { val result = shareIntentHandler.handleIncomingShareIntent(