Fix issue detected by lint.
This commit is contained in:
parent
e8d7c0bf2d
commit
b5d15ee787
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