|
@@ -77,6 +77,7 @@ import tachiyomi.presentation.core.components.material.Scaffold
|
|
|
import tachiyomi.presentation.core.i18n.stringResource
|
|
|
import tachiyomi.presentation.core.util.isScrolledToEnd
|
|
|
import tachiyomi.presentation.core.util.isScrollingUp
|
|
|
+import tachiyomi.source.local.isLocal
|
|
|
import java.text.DateFormat
|
|
|
import java.util.Date
|
|
|
|
|
@@ -718,13 +719,13 @@ fun MangaScreenLargeImpl(
|
|
|
@Composable
|
|
|
private fun SharedMangaBottomActionMenu(
|
|
|
selected: List<ChapterList.Item>,
|
|
|
- modifier: Modifier = Modifier,
|
|
|
onMultiBookmarkClicked: (List<Chapter>, bookmarked: Boolean) -> Unit,
|
|
|
onMultiMarkAsReadClicked: (List<Chapter>, markAsRead: Boolean) -> Unit,
|
|
|
onMarkPreviousAsReadClicked: (Chapter) -> Unit,
|
|
|
onDownloadChapter: ((List<ChapterList.Item>, ChapterDownloadAction) -> Unit)?,
|
|
|
onMultiDeleteClicked: (List<Chapter>) -> Unit,
|
|
|
fillFraction: Float,
|
|
|
+ modifier: Modifier = Modifier,
|
|
|
) {
|
|
|
MangaBottomActionMenu(
|
|
|
visible = selected.isNotEmpty(),
|
|
@@ -818,7 +819,7 @@ private fun LazyListScope.sharedChapterItems(
|
|
|
read = item.chapter.read,
|
|
|
bookmark = item.chapter.bookmark,
|
|
|
selected = item.selected,
|
|
|
- downloadIndicatorEnabled = !isAnyChapterSelected,
|
|
|
+ downloadIndicatorEnabled = !isAnyChapterSelected && !manga.isLocal(),
|
|
|
downloadStateProvider = { item.downloadState },
|
|
|
downloadProgressProvider = { item.downloadProgress },
|
|
|
chapterSwipeStartAction = chapterSwipeStartAction,
|