|
@@ -51,8 +51,8 @@ import eu.kanade.presentation.components.ChapterDownloadAction
|
|
import eu.kanade.presentation.components.ExtendedFloatingActionButton
|
|
import eu.kanade.presentation.components.ExtendedFloatingActionButton
|
|
import eu.kanade.presentation.components.LazyColumn
|
|
import eu.kanade.presentation.components.LazyColumn
|
|
import eu.kanade.presentation.components.MangaBottomActionMenu
|
|
import eu.kanade.presentation.components.MangaBottomActionMenu
|
|
|
|
+import eu.kanade.presentation.components.PullRefresh
|
|
import eu.kanade.presentation.components.Scaffold
|
|
import eu.kanade.presentation.components.Scaffold
|
|
-import eu.kanade.presentation.components.SwipeRefresh
|
|
|
|
import eu.kanade.presentation.components.TwoPanelBox
|
|
import eu.kanade.presentation.components.TwoPanelBox
|
|
import eu.kanade.presentation.components.VerticalFastScroller
|
|
import eu.kanade.presentation.components.VerticalFastScroller
|
|
import eu.kanade.presentation.manga.components.ChapterHeader
|
|
import eu.kanade.presentation.manga.components.ChapterHeader
|
|
@@ -287,7 +287,7 @@ private fun MangaScreenSmallImpl(
|
|
) { contentPadding ->
|
|
) { contentPadding ->
|
|
val topPadding = contentPadding.calculateTopPadding()
|
|
val topPadding = contentPadding.calculateTopPadding()
|
|
|
|
|
|
- SwipeRefresh(
|
|
|
|
|
|
+ PullRefresh(
|
|
refreshing = state.isRefreshingData,
|
|
refreshing = state.isRefreshingData,
|
|
onRefresh = onRefresh,
|
|
onRefresh = onRefresh,
|
|
enabled = chapters.fastAll { !it.selected },
|
|
enabled = chapters.fastAll { !it.selected },
|
|
@@ -421,7 +421,7 @@ fun MangaScreenLargeImpl(
|
|
|
|
|
|
val insetPadding = WindowInsets.systemBars.only(WindowInsetsSides.Horizontal).asPaddingValues()
|
|
val insetPadding = WindowInsets.systemBars.only(WindowInsetsSides.Horizontal).asPaddingValues()
|
|
var topBarHeight by remember { mutableStateOf(0) }
|
|
var topBarHeight by remember { mutableStateOf(0) }
|
|
- SwipeRefresh(
|
|
|
|
|
|
+ PullRefresh(
|
|
refreshing = state.isRefreshingData,
|
|
refreshing = state.isRefreshingData,
|
|
onRefresh = onRefresh,
|
|
onRefresh = onRefresh,
|
|
enabled = chapters.fastAll { !it.selected },
|
|
enabled = chapters.fastAll { !it.selected },
|