Pārlūkot izejas kodu

Change long press on downloaded chapter icon to open menu

Seems like silently deleting things is confusing to some people.
arkon 2 gadi atpakaļ
vecāks
revīzija
4f00af3173

+ 1 - 1
app/src/main/java/eu/kanade/presentation/components/ChapterDownloadIndicator.kt

@@ -188,7 +188,7 @@ private fun DownloadedIndicator(
             .size(IconButtonTokens.StateLayerSize)
             .commonClickable(
                 enabled = enabled,
-                onLongClick = { onClick(ChapterDownloadAction.DELETE) },
+                onLongClick = { isMenuExpanded = true },
                 onClick = { isMenuExpanded = true },
             ),
         contentAlignment = Alignment.Center,