Skip to content

Commit 7d98324

Browse files
committed
- suppress deprecation
1 parent 7ca82b1 commit 7d98324

File tree

1 file changed

+3
-3
lines changed
  • multiplatform-markdown-renderer/src/commonMain/kotlin/com/mikepenz/markdown/compose/elements

1 file changed

+3
-3
lines changed

multiplatform-markdown-renderer/src/commonMain/kotlin/com/mikepenz/markdown/compose/elements/MarkdownCodeTopBar.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ internal fun MarkdownCodeTopBar(
2626
code: String,
2727
modifier: Modifier = Modifier,
2828
) {
29-
val clipboardManager = LocalClipboardManager.current
29+
@Suppress("DEPRECATION") val clipboardManager = LocalClipboardManager.current
3030
val textColor = LocalMarkdownColors.current.text
31-
31+
3232
Row(
3333
modifier = modifier
3434
.fillMaxWidth()
@@ -44,7 +44,7 @@ internal fun MarkdownCodeTopBar(
4444
color = textColor.copy(alpha = 0.6f)
4545
)
4646
)
47-
47+
4848
Box(
4949
modifier = Modifier
5050
.size(24.dp)

0 commit comments

Comments
 (0)