Change long press on downloaded chapter icon to open menu

Seems like silently deleting things is confusing to some people.
This commit is contained in:
arkon 2022-11-13 11:55:34 -05:00
parent 9da232dcd8
commit 4f00af3173

View file

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