From ad90e9b7ab24aeb82a60fcae6088bbd4327d7e6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Scott=20Rayapoull=C3=A9?= Date: Fri, 2 Feb 2024 10:04:13 +0100 Subject: [PATCH] Suppress lint rule --- .../spark/components/bottomsheet/ModalBottomSheetLayout.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spark/src/main/kotlin/com/adevinta/spark/components/bottomsheet/ModalBottomSheetLayout.kt b/spark/src/main/kotlin/com/adevinta/spark/components/bottomsheet/ModalBottomSheetLayout.kt index 4b441df58..4b689a5d1 100644 --- a/spark/src/main/kotlin/com/adevinta/spark/components/bottomsheet/ModalBottomSheetLayout.kt +++ b/spark/src/main/kotlin/com/adevinta/spark/components/bottomsheet/ModalBottomSheetLayout.kt @@ -445,6 +445,8 @@ private fun Scrim( targetValue = if (visible) 1f else 0f, animationSpec = TweenSpec(), ) + // This is a deprecated fork that we needed at the start. it's not a big deal if we use this resource + @Suppress("PrivateResource") val closeSheet = resources().getString(androidx.compose.ui.R.string.close_sheet) val dismissModifier = if (visible) { Modifier