add missing opt-in annotation in ReportViewModel

This commit is contained in:
Christophe Beyls 2024-05-05 17:16:11 +02:00
parent 22fbec84f1
commit 55a451558a
1 changed files with 2 additions and 0 deletions

View File

@ -37,6 +37,7 @@ import com.keylesspalace.tusky.util.Success
import com.keylesspalace.tusky.util.toViewData
import dagger.hilt.android.lifecycle.HiltViewModel
import javax.inject.Inject
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.channels.BufferOverflow
import kotlinx.coroutines.flow.MutableSharedFlow
import kotlinx.coroutines.flow.MutableStateFlow
@ -47,6 +48,7 @@ import kotlinx.coroutines.flow.map
import kotlinx.coroutines.launch
@HiltViewModel
@OptIn(ExperimentalCoroutinesApi::class)
class ReportViewModel @Inject constructor(
private val mastodonApi: MastodonApi,
private val eventHub: EventHub