diff --git a/features/messenger/src/main/kotlin/app/dapk/st/messenger/MessengerViewModel.kt b/features/messenger/src/main/kotlin/app/dapk/st/messenger/MessengerViewModel.kt index aead223..94a59f1 100644 --- a/features/messenger/src/main/kotlin/app/dapk/st/messenger/MessengerViewModel.kt +++ b/features/messenger/src/main/kotlin/app/dapk/st/messenger/MessengerViewModel.kt @@ -126,7 +126,9 @@ internal class MessengerViewModel( } fun startAttachment() { - _events.tryEmit(MessengerEvent.SelectImageAttachment) + viewModelScope.launch { + _events.emit(MessengerEvent.SelectImageAttachment) + } } }