Implement copying of Manga URL to Clipboard (#8587)

feat: Implement copying of Manga URL to Clipboard
This commit is contained in:
Joseph Olugbohunmi
2022-11-22 05:09:23 +01:00
committed by GitHub
parent 2a2c6cee5f
commit ef3a6c80a7
3 changed files with 21 additions and 0 deletions

View File

@@ -162,6 +162,7 @@ fun MangaActionRow(
trackingCount: Int,
onAddToLibraryClicked: () -> Unit,
onWebViewClicked: (() -> Unit)?,
onWebViewLongClicked: (() -> Unit)?,
onTrackingClicked: (() -> Unit)?,
onEditCategory: (() -> Unit)?,
) {
@@ -196,6 +197,7 @@ fun MangaActionRow(
icon = Icons.Outlined.Public,
color = defaultActionButtonColor,
onClick = onWebViewClicked,
onLongClick = onWebViewLongClicked,
)
}
}