diff --git a/app/src/main/java/com/doyoonkim/knutice/data/NoticeLocalRepository.kt b/app/src/main/java/com/doyoonkim/knutice/data/NoticeLocalRepository.kt index e2a4173..ec1208a 100644 --- a/app/src/main/java/com/doyoonkim/knutice/data/NoticeLocalRepository.kt +++ b/app/src/main/java/com/doyoonkim/knutice/data/NoticeLocalRepository.kt @@ -1,5 +1,6 @@ package com.doyoonkim.knutice.data +import androidx.annotation.WorkerThread import com.doyoonkim.knutice.domain.NoticeDummySource import com.doyoonkim.knutice.model.NoticeCategory import com.doyoonkim.knutice.model.NoticesPerPage @@ -26,6 +27,7 @@ class NoticeLocalRepository @Inject constructor( ) { private var localData: TopThreeNotices? = null + @WorkerThread fun getTopThreeNotice(isDummy: Boolean = false): Flow { if (isDummy) { return channelFlow {