diff --git a/src/screens/browse/components/PluginListItem.tsx b/src/screens/browse/components/PluginListItem.tsx
index cc134915..7d4af7c4 100644
--- a/src/screens/browse/components/PluginListItem.tsx
+++ b/src/screens/browse/components/PluginListItem.tsx
@@ -195,20 +195,6 @@ export const PluginListItem = memo(
-
- {item.hasSettings ? (
-
- ) : null}
{item.hasUpdate || __DEV__ ? (
) : null}
+ {item.hasSettings ? (
+
+ ) : null}
+
(null);
const trackerSheetRef = useRef(null);
@@ -122,6 +124,9 @@ const NovelScreenList = ({
if (useFabForContinueReading && lastRead) {
setIsFabExtended(currentScrollPosition <= 0);
}
+
+ const screenHeight = Dimensions.get('window').height;
+ setShowScrollToTop(currentScrollPosition > screenHeight / 2);
};
const onRefresh = async () => {
@@ -230,6 +235,10 @@ const NovelScreenList = ({
});
};
+ const scrollToTop = () => {
+ listRef.current?.scrollToOffset({ offset: 0, animated: true });
+ };
+
const setCustomNovelCover = async () => {
if (!novel || novel.id === 'NO_ID') {
return;
@@ -381,6 +390,20 @@ const NovelScreenList = ({
showChapterTitles={showChapterTitles}
/>
+ {showScrollToTop && (
+
+ )}
{useFabForContinueReading && (lastRead || chapters[0]) ? (