diff --git a/shared/src/commonMain/kotlin/dev/sasikanth/rss/reader/home/HomePresenter.kt b/shared/src/commonMain/kotlin/dev/sasikanth/rss/reader/home/HomePresenter.kt index d5738313..4522fff8 100644 --- a/shared/src/commonMain/kotlin/dev/sasikanth/rss/reader/home/HomePresenter.kt +++ b/shared/src/commonMain/kotlin/dev/sasikanth/rss/reader/home/HomePresenter.kt @@ -45,11 +45,9 @@ import dev.sasikanth.rss.reader.util.DispatchersProvider import dev.sasikanth.rss.reader.utils.NTuple4 import dev.sasikanth.rss.reader.utils.getLast24HourStart import dev.sasikanth.rss.reader.utils.getTodayStartInstant -import kotlin.time.Duration.Companion.milliseconds import kotlinx.collections.immutable.toImmutableList import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.ExperimentalCoroutinesApi -import kotlinx.coroutines.FlowPreview import kotlinx.coroutines.SupervisorJob import kotlinx.coroutines.cancel import kotlinx.coroutines.flow.* @@ -379,7 +377,6 @@ class HomePresenter( .launchIn(coroutineScope) } - @OptIn(FlowPreview::class) private fun loadFeaturedPostsItems( activeSource: Source?, unreadOnly: Boolean?, @@ -403,7 +400,6 @@ class HomePresenter( ) } } - .debounce(500.milliseconds) private fun feedsSheetStateChanged(feedsSheetState: SheetValue) { _state.update {