Fix issue detected by lint.
This commit is contained in:
parent
15bb74a8f7
commit
90d71f5e66
6 changed files with 16 additions and 11 deletions
|
|
@ -73,13 +73,14 @@ private fun LineRow(
|
|||
colorationMode: ColorationMode,
|
||||
) {
|
||||
val context = LocalContext.current
|
||||
val toastMessage = stringResource(CommonStrings.common_line_copied_to_clipboard)
|
||||
Row(
|
||||
modifier = Modifier
|
||||
.fillMaxWidth()
|
||||
.clickable(onClick = {
|
||||
context.copyToClipboard(
|
||||
text = line,
|
||||
toastMessage = context.getString(CommonStrings.common_line_copied_to_clipboard),
|
||||
toastMessage = toastMessage,
|
||||
)
|
||||
})
|
||||
) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue